summaryrefslogtreecommitdiff
path: root/cmd/zfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/zfs.c')
-rw-r--r--cmd/zfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/zfs.c b/cmd/zfs.c
index bb61afd..93067a9 100644
--- a/cmd/zfs.c
+++ b/cmd/zfs.c
@@ -84,7 +84,7 @@ static int do_zfs_load(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]
if (part < 0)
return 1;
- dev = dev_desc->dev;
+ dev = dev_desc->devnum;
printf("Loading file \"%s\" from %s device %d%c%c\n",
filename, argv[1], dev,
part ? ':' : ' ', part ? part + '0' : ' ');