From 0b0fe61dfb00fe4d807cfa7dcfb00fe0e92b95af Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Wed, 21 Aug 2002 18:52:32 +0000 Subject: [PATCH] Use '0' instead of NULL when we mean the integer constant 0 and not a "null pointer expression". --- sbin/restore/restore.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sbin/restore/restore.c b/sbin/restore/restore.c index 08b932f92a9b..96f6c2d36f7c 100644 --- a/sbin/restore/restore.c +++ b/sbin/restore/restore.c @@ -458,7 +458,7 @@ nodeupdates(char *name, ino_t ino, int type) * 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;