Module Name: src
Committed By: lukem
Date: Tue Apr 14 07:41:36 UTC 2009
Modified Files:
src/usr.bin/w: pr_time.c
Log Message:
Fix -Wcast-qual issue
To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/usr.bin/w/pr_time.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.bin/w/pr_time.c
diff -u src/usr.bin/w/pr_time.c:1.16 src/usr.bin/w/pr_time.c:1.17
--- src/usr.bin/w/pr_time.c:1.16 Sat Jan 8 05:04:34 2005
+++ src/usr.bin/w/pr_time.c Tue Apr 14 07:41:36 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: pr_time.c,v 1.16 2005/01/08 05:04:34 kim Exp $ */
+/* $NetBSD: pr_time.c,v 1.17 2009/04/14 07:41:36 lukem Exp $ */
/*-
* Copyright (c) 1990, 1993, 1994
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)pr_time.c 8.2 (Berkeley) 4/4/94";
#else
-__RCSID("$NetBSD: pr_time.c,v 1.16 2005/01/08 05:04:34 kim Exp $");
+__RCSID("$NetBSD: pr_time.c,v 1.17 2009/04/14 07:41:36 lukem Exp $");
#endif
#endif /* not lint */
@@ -62,7 +62,7 @@
int tnow_yday;
struct tm *tp;
time_t diff;
- char *fmt;
+ const char *fmt;
tnow_yday = localtime(now)->tm_yday;
tp = localtime(started);