diff options
author | wollman <wollman@FreeBSD.org> | 2001-02-21 19:31:53 +0000 |
---|---|---|
committer | wollman <wollman@FreeBSD.org> | 2001-02-21 19:31:53 +0000 |
commit | 11947dbc7d661668935fadba4b8535c0aaf46172 (patch) | |
tree | 5bdad201a334c9f3be0c87ad60265f2de32687fb /usr.bin/getconf/getconf.c | |
parent | bb9ee8e09f8c8bca307cf1ea68aef76f3a7ab1ed (diff) | |
download | FreeBSD-src-11947dbc7d661668935fadba4b8535c0aaf46172.zip FreeBSD-src-11947dbc7d661668935fadba4b8535c0aaf46172.tar.gz |
Destroy the evidence of my misunderstanding of the specification.
Also fix up the phrasing in the man page a bit.
Diffstat (limited to 'usr.bin/getconf/getconf.c')
-rw-r--r-- | usr.bin/getconf/getconf.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/usr.bin/getconf/getconf.c b/usr.bin/getconf/getconf.c index b33f574..87b91b1 100644 --- a/usr.bin/getconf/getconf.c +++ b/usr.bin/getconf/getconf.c @@ -136,12 +136,6 @@ do_sysconf(const char *name, int key) else if (value == -1) printf("undefined\n"); else - /* - * SUSv2 specifies that the value, if defined, is to be - * printed using the format "%d\n". This is clearly - * erroneous, since sysconf is defined to return a long - * and not an int. - */ printf("%ld\n", value); } @@ -157,11 +151,5 @@ do_pathconf(const char *name, int key, const char *path) else if (value == -1) printf("undefined\n"); else - /* - * SUSv2 specifies that the value, if defined, is to be - * printed using the format "%d\n". This is clearly - * erroneous, since sysconf is defined to return a long - * and not an int. - */ printf("%ld\n", value); } |