diff options
Diffstat (limited to 'cmd/zinject/zinject.c')
-rw-r--r-- | cmd/zinject/zinject.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/zinject/zinject.c b/cmd/zinject/zinject.c index e687b733c..7e8381325 100644 --- a/cmd/zinject/zinject.c +++ b/cmd/zinject/zinject.c @@ -663,8 +663,8 @@ main(int argc, char **argv) err_type_t type = TYPE_INVAL; err_type_t label = TYPE_INVAL; zinject_record_t record = { 0 }; - char pool[MAXNAMELEN]; - char dataset[MAXNAMELEN]; + char pool[MAXNAMELEN] = ""; + char dataset[MAXNAMELEN] = ""; zfs_handle_t *zhp = NULL; int nowrites = 0; int dur_txg = 0; |