summaryrefslogtreecommitdiff
path: root/lib/libc/stdlib/getopt_long.3
diff options
context:
space:
mode:
authorwiz <wiz@NetBSD.org>2017-07-03 21:28:48 +0000
committerwiz <wiz@NetBSD.org>2017-07-03 21:28:48 +0000
commit56b14ee00121a3a960d2fbe103c85e147ac57103 (patch)
tree05478e811140b3d30b452dcff8e4df8bdab6e3f8 /lib/libc/stdlib/getopt_long.3
parent7c0084bd3e3114326ae5e7336142439f1d2a10e1 (diff)
Remove workaround for ancient HTML generation code.
Diffstat (limited to 'lib/libc/stdlib/getopt_long.3')
-rw-r--r--lib/libc/stdlib/getopt_long.36
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);