aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/zfs/zfs_main.c
diff options
context:
space:
mode:
authorнаб <[email protected]>2022-04-19 20:49:30 +0200
committerBrian Behlendorf <[email protected]>2022-06-29 14:08:59 -0700
commitdd66857d92d86643bda57b92fdd58f016bd1725e (patch)
tree9048c7e8ea0821c264cbaab4ee5a29379393ddbf /cmd/zfs/zfs_main.c
parenta926aab902ac5c680f4766568d19674b80fb58bb (diff)
Remaining {=> const} char|void *tag
Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes #13348
Diffstat (limited to 'cmd/zfs/zfs_main.c')
-rw-r--r--cmd/zfs/zfs_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/zfs/zfs_main.c b/cmd/zfs/zfs_main.c
index 1a2106c2e..e71959c3c 100644
--- a/cmd/zfs/zfs_main.c
+++ b/cmd/zfs/zfs_main.c
@@ -6438,7 +6438,7 @@ print_holds(boolean_t scripted, int nwidth, int tagwidth, nvlist_t *nvl)
(void) nvpair_value_nvlist(nvp, &nvl2);
while ((nvp2 = nvlist_next_nvpair(nvl2, nvp2)) != NULL) {
char tsbuf[DATETIME_BUF_LEN];
- char *tagname = nvpair_name(nvp2);
+ const char *tagname = nvpair_name(nvp2);
uint64_t val = 0;
time_t time;
struct tm t;