9
0
Fork 0

x86: Fix compiler warnings

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Sascha Hauer 2013-10-14 14:03:27 +02:00
parent 95c9690c9e
commit 51c92d290b
1 changed files with 1 additions and 2 deletions

View File

@ -43,7 +43,6 @@ extern uint8_t pers_env_drive;
static int devices_init(void)
{
int rc;
struct cdev *cdev;
/* extended memory only */
@ -57,7 +56,7 @@ static int devices_init(void)
pers_env_storage * 512,
(unsigned)pers_env_size * 512,
DEVFS_PARTITION_FIXED, "env0");
printf("Partition: %d\n", IS_ERR(cdev) ? PTR_ERR(cdev) : 0);
printf("Partition: %ld\n", IS_ERR(cdev) ? PTR_ERR(cdev) : 0);
} else
printf("No persistent storage defined\n");