2005-01-09 08:55:53

by Alexey Dobriyan

[permalink] [raw]
Subject: [PATCH] hfs: s/0/NULL/ in pointer context

Signed-off-by: Alexey Dobriyan <[email protected]>

Index: linux-2.6.10-bk11-warnings/fs/hfs/super.c
===================================================================
--- linux-2.6.10-bk11-warnings/fs/hfs/super.c (revision 12)
+++ linux-2.6.10-bk11-warnings/fs/hfs/super.c (revision 13)
@@ -159,7 +159,7 @@
if (!options)
return 1;

- while ((this_char = strsep(&options, ",")) != 0) {
+ while ((this_char = strsep(&options, ",")) != NULL) {
if (!*this_char)
continue;
value = strchr(this_char, '=');