when getting LNAMEs directly use safe versions to avoid printing from null pointer.
when getting LNAMEs directly use safe versions to avoid printing from
null pointer.

joncampbell123/doslib,joncampbell123/doslib,joncampbell123/doslib,joncampbell123/doslib,joncampbell123/doslib,joncampbell123/doslib