Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sbin/restore Don't use NULL as a case value.
details: https://anonhg.NetBSD.org/src/rev/b2c1c0500c69
branches: trunk
changeset: 553763:b2c1c0500c69
user: fvdl <fvdl%NetBSD.org@localhost>
date: Tue Oct 21 02:34:45 2003 +0000
description:
Don't use NULL as a case value.
diffstat:
sbin/restore/restore.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 65bd1b302459 -r b2c1c0500c69 sbin/restore/restore.c
--- a/sbin/restore/restore.c Tue Oct 21 02:33:34 2003 +0000
+++ b/sbin/restore/restore.c Tue Oct 21 02:34:45 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: restore.c,v 1.14 2003/08/07 10:04:38 agc Exp $ */
+/* $NetBSD: restore.c,v 1.15 2003/10/21 02:34:45 fvdl Exp $ */
/*
* Copyright (c) 1983, 1993
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)restore.c 8.3 (Berkeley) 9/13/94";
#else
-__RCSID("$NetBSD: restore.c,v 1.14 2003/08/07 10:04:38 agc Exp $");
+__RCSID("$NetBSD: restore.c,v 1.15 2003/10/21 02:34:45 fvdl Exp $");
#endif
#endif /* not lint */
@@ -471,7 +471,7 @@
* for it, we discard the name knowing that it will be on the
* next incremental tape.
*/
- case NULL:
+ case 0:
fprintf(stderr, "%s: (inode %d) not found on tape\n",
name, ino);
break;
Home |
Main Index |
Thread Index |
Old Index