linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] hfs: s/0/NULL/ in pointer context
@ 2005-01-09  9:45 Alexey Dobriyan
  0 siblings, 0 replies; only message in thread
From: Alexey Dobriyan @ 2005-01-09  9:45 UTC (permalink / raw)
  To: Roman Zippel; +Cc: linux-kernel

Signed-off-by: Alexey Dobriyan <adobriyan@mail.ru>

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, '=');

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-01-09  8:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-09  9:45 [PATCH] hfs: s/0/NULL/ in pointer context Alexey Dobriyan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).