aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/sysinstall/sysinstall.h
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>2004-03-11 11:58:16 +0000
committerBruce Evans <bde@FreeBSD.org>2004-03-11 11:58:16 +0000
commit03f0d9e8ae6d98324d750f279801106df7b32877 (patch)
tree873c65073bc4a50436133a5678acbe7ad4856ddc /usr.sbin/sysinstall/sysinstall.h
parent8153ab0e6fb5c344655c9ff21bffc2cc07ff1074 (diff)
downloadsrc-03f0d9e8ae6d98324d750f279801106df7b32877.tar.gz
src-03f0d9e8ae6d98324d750f279801106df7b32877.zip
Fixed assorted misuses of NULL in integer context.
Notes
Notes: svn path=/head/; revision=126844
Diffstat (limited to 'usr.sbin/sysinstall/sysinstall.h')
-rw-r--r--usr.sbin/sysinstall/sysinstall.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/sysinstall/sysinstall.h b/usr.sbin/sysinstall/sysinstall.h
index e4c939f4ec60..938cfad0be72 100644
--- a/usr.sbin/sysinstall/sysinstall.h
+++ b/usr.sbin/sysinstall/sysinstall.h
@@ -871,7 +871,7 @@ extern void slice_wizard(Disk *d);
/*
* Macros. Please find a better place for us!
*/
-#define DEVICE_INIT(d) ((d) != NULL ? (d)->init((d)) : NULL)
+#define DEVICE_INIT(d) ((d) != NULL ? (d)->init((d)) : (Boolean)0)
#define DEVICE_GET(d, b, f) ((d) != NULL ? (d)->get((d), (b), (f)) : NULL)
#define DEVICE_SHUTDOWN(d) ((d) != NULL ? (d)->shutdown((d)) : (void)0)