summaryrefslogtreecommitdiff
path: root/common/cmd_zfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/cmd_zfs.c')
-rw-r--r--common/cmd_zfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/cmd_zfs.c b/common/cmd_zfs.c
index d580f7bca0..1df0c4d72a 100644
--- a/common/cmd_zfs.c
+++ b/common/cmd_zfs.c
@@ -46,7 +46,7 @@
#define DOS_FS_TYPE_OFFSET 0x36
#define DOS_FS32_TYPE_OFFSET 0x52
-static int do_zfs_load(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
+static int do_zfs_load(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
{
char *filename = NULL;
int dev;
@@ -146,7 +146,7 @@ int zfs_print(const char *entry, const struct zfs_dirhook_info *data)
-static int do_zfs_ls(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
+static int do_zfs_ls(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
{
const char *filename = "/";
int part;