summaryrefslogtreecommitdiff
path: root/common/cmd_reiser.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/cmd_reiser.c')
-rw-r--r--common/cmd_reiser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cmd_reiser.c b/common/cmd_reiser.c
index cb316e5..508ffcb 100644
--- a/common/cmd_reiser.c
+++ b/common/cmd_reiser.c
@@ -212,7 +212,7 @@ int do_reiserload (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
PRINTF("Using device %s%d, partition %d\n", argv[1], dev, part);
if (part != 0) {
- if (get_partition_info (&dev_desc[dev], part, &info)) {
+ if (get_partition_info (dev_desc, part, &info)) {
printf ("** Bad partition %d **\n", part);
return 1;
}