]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - common/cmd_reiser.c
* Fix get_partition_info() parameter error in all other calls
[karo-tx-uboot.git] / common / cmd_reiser.c
index cb316e596959ef966299c7a60400b0e1892282ac..508ffcbdac8eb4e3dfd04c7ae5ddb7fcfe375714 100644 (file)
@@ -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;
                }