From 8f4f4def73f63b8e9a4366bb49fcbbae6e31bd17 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Fri, 20 Jun 1997 13:31:18 +0000 Subject: off_t error --- usr.bin/nohup/nohup.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'usr.bin/nohup') 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 @@ -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); -- cgit v1.2.3