summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorToomas Soome <tsoome@me.com>2019-01-26 19:31:34 +0200
committerToomas Soome <tsoome@me.com>2019-07-31 09:49:32 +0300
commit1e88dc672aa1283fdca243a70822306e816340d7 (patch)
tree51e84108f6510e17f2f6e2ef6ccbe22eabd7e977
parenteaf5a31c5f4fa067aaddcf5b08a0cd96c60bb9a4 (diff)
downloadillumos-joyent-1e88dc672aa1283fdca243a70822306e816340d7.tar.gz
11452 zonestat: NULL pointer errors
Reviewed by: Andy Fiddaman <andy@omniosce.org> Approved by: Dan McDonald <danmcd@joyent.com>
-rw-r--r--usr/src/cmd/zonestat/zonestatd/zonestatd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/cmd/zonestat/zonestatd/zonestatd.c b/usr/src/cmd/zonestat/zonestatd/zonestatd.c
index b764551131..fb7759f6e7 100644
--- a/usr/src/cmd/zonestat/zonestatd/zonestatd.c
+++ b/usr/src/cmd/zonestat/zonestatd/zonestatd.c
@@ -4512,7 +4512,7 @@ zsd_stat_server(void *cookie, char *argp, size_t arg_size,
rvals = usage->zsu_size;
zsd_usage_cache_rele(cache);
- (void) door_return(rvalp, rvals, 0, NULL);
+ (void) door_return(rvalp, rvals, NULL, 0);
thr_exit(NULL);
}