summaryrefslogtreecommitdiff
path: root/bin/cat
diff options
context:
space:
mode:
authorKiyoshi Aman <kiyoshi.aman+adelie@gmail.com>2019-05-09 20:10:58 -0500
committerKiyoshi Aman <kiyoshi.aman+adelie@gmail.com>2019-05-10 14:50:07 -0500
commitcd77eadd1bebba97178906fa68fa1fb05d30375f (patch)
tree00c2d613ad068fd1102f390f173340ace03e7352 /bin/cat
parent1ad5523ea4fb84eddba2ff3c601eae352503d13e (diff)
downloaduserland-cd77eadd1bebba97178906fa68fa1fb05d30375f.tar.gz
userland-cd77eadd1bebba97178906fa68fa1fb05d30375f.tar.bz2
userland-cd77eadd1bebba97178906fa68fa1fb05d30375f.tar.xz
userland-cd77eadd1bebba97178906fa68fa1fb05d30375f.zip
bin/cat: remove NetBSD cruft
Diffstat (limited to 'bin/cat')
-rw-r--r--bin/cat/cat.c15
1 files changed, 1 insertions, 14 deletions
diff --git a/bin/cat/cat.c b/bin/cat/cat.c
index 563ba63..480a387 100644
--- a/bin/cat/cat.c
+++ b/bin/cat/cat.c
@@ -36,18 +36,6 @@
#include "nbtool_config.h"
#endif
-#include <sys/cdefs.h>
-#if !defined(lint)
-__COPYRIGHT(
-"@(#) Copyright (c) 1989, 1993\
- The Regents of the University of California. All rights reserved.");
-#if 0
-static char sccsid[] = "@(#)cat.c 8.2 (Berkeley) 4/27/95";
-#else
-__RCSID("$NetBSD: cat.c,v 1.57 2016/06/16 00:52:37 sevan Exp $");
-#endif
-#endif /* not lint */
-
#include <sys/param.h>
#include <sys/stat.h>
@@ -77,7 +65,6 @@ main(int argc, char *argv[])
int ch;
struct flock stdout_lock;
- setprogname(argv[0]);
(void)setlocale(LC_ALL, "");
while ((ch = getopt(argc, argv, "B:beflnstuv")) != -1)
@@ -116,7 +103,7 @@ main(int argc, char *argv[])
case '?':
(void)fprintf(stderr,
"Usage: %s [-beflnstuv] [-B bsize] [-] "
- "[file ...]\n", getprogname());
+ "[file ...]\n", argv[0]);
return EXIT_FAILURE;
}
argv += optind;