Module Name: src
Committed By: lukem
Date: Sun Apr 19 00:44:49 UTC 2009
Modified Files:
src/usr.sbin/vipw: vipw.c
Log Message:
Fix -Wcast-qual issue
To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/usr.sbin/vipw/vipw.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.sbin/vipw/vipw.c
diff -u src/usr.sbin/vipw/vipw.c:1.13 src/usr.sbin/vipw/vipw.c:1.14
--- src/usr.sbin/vipw/vipw.c:1.13 Mon Jul 21 13:37:00 2008
+++ src/usr.sbin/vipw/vipw.c Sun Apr 19 00:44:49 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: vipw.c,v 1.13 2008/07/21 13:37:00 lukem Exp $ */
+/* $NetBSD: vipw.c,v 1.14 2009/04/19 00:44:49 lukem Exp $ */
/*
* Copyright (c) 1987, 1993, 1994
@@ -39,7 +39,7 @@
#if 0
static char sccsid[] = "@(#)vipw.c 8.3 (Berkeley) 4/2/94";
#else
-__RCSID("$NetBSD: vipw.c,v 1.13 2008/07/21 13:37:00 lukem Exp $");
+__RCSID("$NetBSD: vipw.c,v 1.14 2009/04/19 00:44:49 lukem Exp $");
#endif
#endif /* not lint */
@@ -66,7 +66,7 @@
int
main(int argc, char *argv[])
{
- char *prefix;
+ const char *prefix;
int pfd, tfd;
struct stat begin, end;
int ch;