This commit is contained in:
Michael Brown
2007-03-20 18:55:00 +00:00
parent 5578d3b2de
commit 160e66dbb9
3 changed files with 5 additions and 5 deletions

View File

@@ -156,7 +156,7 @@ static int kernel_exec ( int argc, char **argv ) {
struct image *image;
int rc;
if ( ( rc = imgfetch_core_exec ( argc, argv, 1, &image ) != 0 ) )
if ( ( rc = imgfetch_core_exec ( argc, argv, 1, &image ) ) != 0 )
return 1;
/* Load image */
@@ -180,7 +180,7 @@ static int initrd_exec ( int argc, char **argv ) {
struct image *image;
int rc;
if ( ( rc = imgfetch_core_exec ( argc, argv, 0, &image ) != 0 ) )
if ( ( rc = imgfetch_core_exec ( argc, argv, 0, &image ) ) != 0 )
return 1;
/* Mark image as an intird */