diff options
| author | Stefan Roese <sr@denx.de> | 2007-08-15 21:06:27 +0200 | 
|---|---|---|
| committer | Stefan Roese <sr@denx.de> | 2007-08-15 21:06:27 +0200 | 
| commit | b706d63559aeec352bc72dd86d7d5423c15f6a60 (patch) | |
| tree | fdeda4d61970fef239d9d66ecd851fa46cfe5ec0 /common/cmd_reiser.c | |
| parent | c8603cfbd4573379a6076c9c208545ba2bbf019a (diff) | |
| parent | 594e79838ce5078a90d0c27abb2b2d61d5f8e8a7 (diff) | |
| download | olio-uboot-2014.01-b706d63559aeec352bc72dd86d7d5423c15f6a60.tar.xz olio-uboot-2014.01-b706d63559aeec352bc72dd86d7d5423c15f6a60.zip | |
Merge with git://www.denx.de/git/u-boot.git
Diffstat (limited to 'common/cmd_reiser.c')
| -rw-r--r-- | common/cmd_reiser.c | 10 | 
1 files changed, 5 insertions, 5 deletions
| diff --git a/common/cmd_reiser.c b/common/cmd_reiser.c index 09c86e66d..1ba392990 100644 --- a/common/cmd_reiser.c +++ b/common/cmd_reiser.c @@ -28,7 +28,7 @@   */  #include <common.h> -#if (CONFIG_COMMANDS & CFG_CMD_REISER) +#if defined(CONFIG_CMD_REISER)  #include <config.h>  #include <command.h>  #include <image.h> @@ -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;  	} @@ -240,4 +240,4 @@ U_BOOT_CMD(  	"      to address 'addr' from dos filesystem\n"  ); -#endif	/* CONFIG_COMMANDS & CFG_CMD_REISER */ +#endif |