summaryrefslogtreecommitdiff
path: root/common/cmd_reiser.c
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2007-07-11 12:16:04 +0200
committerStefan Roese <sr@denx.de>2007-07-11 12:16:04 +0200
commit53629f439cc9daba166812749d2cf3102aca7aac (patch)
treef82264c99a124f2cbfeca96820290c46c88e0ad9 /common/cmd_reiser.c
parent334043f601a90ac53e5ecc846fbb73a1ef38cb1f (diff)
parent4ef218f6fdf8d747f4589da5252b004e7d2c2876 (diff)
Merge with git://www.denx.de/git/u-boot.git
Diffstat (limited to 'common/cmd_reiser.c')
-rw-r--r--common/cmd_reiser.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/common/cmd_reiser.c b/common/cmd_reiser.c
index 09c86e66d7..d83c31ab3f 100644
--- a/common/cmd_reiser.c
+++ b/common/cmd_reiser.c
@@ -90,7 +90,7 @@ int do_reiserls (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
}
if (!reiserfs_mount(part_length)) {
- printf ("** Bad Reisefs partition or disk - %s %d:%d **\n", argv[1], dev, part);
+ printf ("** Bad Reiserfs partition or disk - %s %d:%d **\n", argv[1], dev, part);
return 1;
}
@@ -183,7 +183,7 @@ int do_reiserload (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
return 1;
}
- if (strncmp(info.type, BOOT_PART_TYPE, sizeof(info.type)) != 0) {
+ if (strncmp((char *)info.type, BOOT_PART_TYPE, sizeof(info.type)) != 0) {
printf ("\n** Invalid partition type \"%.32s\""
" (expect \"" BOOT_PART_TYPE "\")\n",
info.type);
@@ -204,7 +204,7 @@ int do_reiserload (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
}
if (!reiserfs_mount(part_length)) {
- printf ("** Bad Reisefs partition or disk - %s %d:%d **\n", argv[1], dev, part);
+ printf ("** Bad Reiserfs partition or disk - %s %d:%d **\n", argv[1], dev, part);
return 1;
}