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

From: Alexey Dobriyan
Date: Sun Jan 09 2005 - 03:59:34 EST


Signed-off-by: Alexey Dobriyan <adobriyan@xxxxxxx>

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, '=');
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/