summaryrefslogtreecommitdiff
path: root/bin/cat/cat.c
diff options
context:
space:
mode:
Diffstat (limited to 'bin/cat/cat.c')
-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;