Module Name: src
Committed By: mbalmer
Date: Sat Jul 4 13:24:09 UTC 2009
Modified Files:
src/libexec/getty: main.c
Log Message:
Remove an old workaround from SCCS times (%M% would insert the filename).
To generate a diff of this commit:
cvs rdiff -u -r1.56 -r1.57 src/libexec/getty/main.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/libexec/getty/main.c
diff -u src/libexec/getty/main.c:1.56 src/libexec/getty/main.c:1.57
--- src/libexec/getty/main.c:1.56 Sun Jul 20 01:09:07 2008
+++ src/libexec/getty/main.c Sat Jul 4 13:24:09 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: main.c,v 1.56 2008/07/20 01:09:07 lukem Exp $ */
+/* $NetBSD: main.c,v 1.57 2009/07/04 13:24:09 mbalmer Exp $ */
/*-
* Copyright (c) 1980, 1993
@@ -40,7 +40,7 @@
#if 0
static char sccsid[] = "from: @(#)main.c 8.1 (Berkeley) 6/20/93";
#else
-__RCSID("$NetBSD: main.c,v 1.56 2008/07/20 01:09:07 lukem Exp $");
+__RCSID("$NetBSD: main.c,v 1.57 2009/07/04 13:24:09 mbalmer Exp $");
#endif
#endif /* not lint */
@@ -677,8 +677,7 @@
case 'd':
(void)time(&t);
(void)strftime(db, sizeof(db),
- /* SCCS eats %M% */
- "%l:%M" "%p on %A, %d %B %Y", localtime(&t));
+ "%l:%M%p on %A, %d %B %Y", localtime(&t));
xputs(db);
break;