diff options
author | bde <bde@FreeBSD.org> | 2003-10-26 06:40:37 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 2003-10-26 06:40:37 +0000 |
commit | 62aa43a57158d84be55e7bbee12717d65442d98b (patch) | |
tree | ad81ffd9d595b92468f92f3b16977beeabaeb460 /gnu/usr.bin | |
parent | 9684781ddad0a9c535c72a5b64e29785d1faf109 (diff) | |
download | FreeBSD-src-62aa43a57158d84be55e7bbee12717d65442d98b.zip FreeBSD-src-62aa43a57158d84be55e7bbee12717d65442d98b.tar.gz |
Fix previous commit. glob_filename() returns "(char **) -1" for certain
errors, not necessarily a pointer such that (intptr_t)pointer is -1.
Also fix the style bug that the cast was not followed by a space.
This style of this file is now perfectly non-KNF for this cast too.
Diffstat (limited to 'gnu/usr.bin')
-rw-r--r-- | gnu/usr.bin/man/man/man.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/usr.bin/man/man/man.c b/gnu/usr.bin/man/man/man.c index f34851a..18005df 100644 --- a/gnu/usr.bin/man/man/man.c +++ b/gnu/usr.bin/man/man/man.c @@ -539,7 +539,7 @@ is_section (name, path) x = 0; vs = glob_filename (temp); - if ((intptr_t)vs == -1) + if (vs == (char **) -1) { free (temp); return NULL; |