diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2001-09-09 19:30:50 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2001-09-09 19:30:50 +0000 |
commit | 46a99c6b2f097d7d6131d664e76d028d872c9041 (patch) | |
tree | 262aa90baf0ba6a32965882e76434f6ef85131b7 /usr.bin/tip/log.c | |
parent | dd1465da7dc1d30e7bfb903d66105c707307c1ec (diff) |
implement some more command line options for cu and use getopt(3)
Diffstat (limited to 'usr.bin/tip/log.c')
-rw-r--r-- | usr.bin/tip/log.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/tip/log.c b/usr.bin/tip/log.c index 791cf3bafb6..1a715c0d5f5 100644 --- a/usr.bin/tip/log.c +++ b/usr.bin/tip/log.c @@ -1,4 +1,4 @@ -/* $OpenBSD: log.c,v 1.4 2001/07/12 05:17:24 deraadt Exp $ */ +/* $OpenBSD: log.c,v 1.5 2001/09/09 19:30:49 millert Exp $ */ /* $NetBSD: log.c,v 1.4 1994/12/24 17:56:28 cgd Exp $ */ /* @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)log.c 8.1 (Berkeley) 6/6/93"; #endif -static char rcsid[] = "$OpenBSD: log.c,v 1.4 2001/07/12 05:17:24 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: log.c,v 1.5 2001/09/09 19:30:49 millert Exp $"; #endif /* not lint */ #include "tip.h" @@ -60,7 +60,7 @@ logent(group, num, acu, message) if (flog == NULL) return; if (flock(fileno(flog), LOCK_EX) < 0) { - perror("tip: flock"); + perror("flock"); return; } if ((user = getlogin()) == NOSTR) { |