diff options
author | dd <dd@FreeBSD.org> | 2001-08-21 18:46:33 +0000 |
---|---|---|
committer | dd <dd@FreeBSD.org> | 2001-08-21 18:46:33 +0000 |
commit | daf9108f0f6b58f6164d4996630ef264f0eac1c2 (patch) | |
tree | 9ce18e0230579d8ecf6fb6819029f13e1e072916 /lib | |
parent | 4f6c3a9342d37bdb0df211e35041376b49f7a84c (diff) | |
download | FreeBSD-src-daf9108f0f6b58f6164d4996630ef264f0eac1c2.zip FreeBSD-src-daf9108f0f6b58f6164d4996630ef264f0eac1c2.tar.gz |
Fix style bug.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/gen/setprogname.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/gen/setprogname.c b/lib/libc/gen/setprogname.c index 2ddceef..8a04211 100644 --- a/lib/libc/gen/setprogname.c +++ b/lib/libc/gen/setprogname.c @@ -14,5 +14,5 @@ setprogname(const char *progname) const char *p; p = strrchr(progname, '/'); - __progname = p ? p + 1 : progname; + __progname = p != NULL ? p + 1 : progname; } |