diff options
author | Bruce Evans <bde@FreeBSD.org> | 2004-03-11 11:58:16 +0000 |
---|---|---|
committer | Bruce Evans <bde@FreeBSD.org> | 2004-03-11 11:58:16 +0000 |
commit | 03f0d9e8ae6d98324d750f279801106df7b32877 (patch) | |
tree | 873c65073bc4a50436133a5678acbe7ad4856ddc /usr.sbin/sysinstall/sysinstall.h | |
parent | 8153ab0e6fb5c344655c9ff21bffc2cc07ff1074 (diff) | |
download | src-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.h | 2 |
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) |