diff options
Diffstat (limited to 'lib/libc/stdlib/getopt_long.3')
| -rw-r--r-- | lib/libc/stdlib/getopt_long.3 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/stdlib/getopt_long.3 b/lib/libc/stdlib/getopt_long.3 index 6d03631706a..f36cc6c2779 100644 --- a/lib/libc/stdlib/getopt_long.3 +++ b/lib/libc/stdlib/getopt_long.3 @@ -1,4 +1,4 @@ -.\" $NetBSD: getopt_long.3,v 1.18 2007/07/02 17:56:17 ginsbach Exp $ +.\" $NetBSD: getopt_long.3,v 1.19 2017/07/03 21:32:50 wiz Exp $ .\" .\" Copyright (c) 1988, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -169,7 +169,7 @@ int daggerset; static struct option longopts[] = { { "buffy", no_argument, 0, 'b' }, { "fluoride", required_argument, 0, 'f' }, - { "daggerset", no_argument, \*[Am]daggerset, 1 }, + { "daggerset", no_argument, &daggerset, 1 }, { NULL, 0, NULL, 0 } }; @@ -180,7 +180,7 @@ while ((ch = getopt_long(argc, argv, "bf:", longopts, NULL)) != -1) bflag = 1; break; case 'f': - if ((fd = open(optarg, O_RDONLY, 0)) \*[Lt] 0) { + if ((fd = open(optarg, O_RDONLY, 0)) < 0) { (void)fprintf(stderr, "myname: %s: %s\en", optarg, strerror(errno)); exit(1); |
