diff --git a/libmisc/myname.c b/libmisc/myname.c index bedb3144..f22f5ab3 100644 --- a/libmisc/myname.c +++ b/libmisc/myname.c @@ -57,7 +57,7 @@ struct passwd *get_my_pwent (void) * XXX - when running from su, will return the current user (not * the original user, like getlogin() does). Does this matter? */ - if ((NULL !=cp) && ('\0' != *cp)) { + if ((NULL != cp) && ('\0' != *cp)) { pw = xgetpwnam (cp); if ((NULL != pw) && (pw->pw_uid == ruid)) { return pw;