mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-26 03:09:34 +03:00
zfs: simplify usage_prop_cb values
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: John Kennedy <john.kennedy@delphix.com> Reviewed-by: Ryan Moeller <ryan@iXsystems.com> Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Closes #13259
This commit is contained in:
parent
5b0e75caef
commit
84a3eab6aa
@ -486,10 +486,7 @@ usage_prop_cb(int prop, void *cb)
|
||||
else
|
||||
(void) fprintf(fp, " NO ");
|
||||
|
||||
if (zfs_prop_values(prop) == NULL)
|
||||
(void) fprintf(fp, "-\n");
|
||||
else
|
||||
(void) fprintf(fp, "%s\n", zfs_prop_values(prop));
|
||||
(void) fprintf(fp, "%s\n", zfs_prop_values(prop) ?: "-");
|
||||
|
||||
return (ZPROP_CONT);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user