summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1997-06-20 13:31:18 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1997-06-20 13:31:18 +0000
commit8f4f4def73f63b8e9a4366bb49fcbbae6e31bd17 (patch)
treef6edef6d74cd3f9ca7fc796d34f3024cfb0477ba /usr.bin
parentf101204febbbf809f4cf69b3ba3499a012f81f90 (diff)
off_t error
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/nohup/nohup.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/nohup/nohup.c b/usr.bin/nohup/nohup.c
index 369b64ce530..26966ab8b35 100644
--- a/usr.bin/nohup/nohup.c
+++ b/usr.bin/nohup/nohup.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nohup.c,v 1.3 1996/10/28 00:50:13 millert Exp $ */
+/* $OpenBSD: nohup.c,v 1.4 1997/06/20 13:31:17 deraadt Exp $ */
/* $NetBSD: nohup.c,v 1.6 1995/08/31 23:35:25 jtc Exp $ */
/*
@@ -44,7 +44,7 @@ char copyright[] =
#if 0
static char sccsid[] = "@(#)nohup.c 5.4 (Berkeley) 6/1/90";
#endif
-static char rcsid[] = "$OpenBSD: nohup.c,v 1.3 1996/10/28 00:50:13 millert Exp $";
+static char rcsid[] = "$OpenBSD: nohup.c,v 1.4 1997/06/20 13:31:17 deraadt Exp $";
#endif /* not lint */
#include <sys/param.h>
@@ -127,7 +127,7 @@ dofile()
(void)fprintf(stderr, "nohup: can't open a nohup.out file.\n");
exit(EXIT_MISC);
-dupit: (void)lseek(fd, 0L, SEEK_END);
+dupit: (void)lseek(fd, 0, SEEK_END);
if (dup2(fd, STDOUT_FILENO) == -1) {
(void)fprintf(stderr, "nohup: %s\n", strerror(errno));
exit(EXIT_MISC);