summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr/src/cmd/halt/halt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/src/cmd/halt/halt.c b/usr/src/cmd/halt/halt.c
index a98360d6c2..edd862ff39 100644
--- a/usr/src/cmd/halt/halt.c
+++ b/usr/src/cmd/halt/halt.c
@@ -1263,7 +1263,7 @@ main(int argc, char *argv[])
int qflag = 0, needlog = 1, nosync = 0;
int fast_reboot = 0;
int prom_reboot = 0;
- uintptr_t mdep = NULL;
+ uintptr_t mdep = 0;
int cmd, fcn, c, aval, r;
const char *usage;
const char *optstring;
@@ -1608,7 +1608,7 @@ main(int argc, char *argv[])
}
if (cmd == A_DUMP && nosync != 0)
- (void) uadmin(A_DUMP, AD_NOSYNC, NULL);
+ (void) uadmin(A_DUMP, AD_NOSYNC, 0);
if (fast_reboot)
fcn = AD_FASTREBOOT;