Skip to contentSkip to conversation

hfs: s/0/NULL/ in pointer context

PATCH New Alexey Dobriyan 1 participant 1 message Jan 9, 2005 HFS filesystem

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 hfs: s/0/NULL/ in pointer context

fs/hfs/super.c +1 -1
Index: linux-2.6.10-bk11-warnings/fs/hfs/super.c
===================================================================
@@ -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, '=');