|
@@ -156,7 +156,7 @@ static int kernel_exec ( int argc, char **argv ) {
|
156
|
156
|
struct image *image;
|
157
|
157
|
int rc;
|
158
|
158
|
|
159
|
|
- if ( ( rc = imgfetch_core_exec ( argc, argv, 1, &image ) != 0 ) )
|
|
159
|
+ if ( ( rc = imgfetch_core_exec ( argc, argv, 1, &image ) ) != 0 )
|
160
|
160
|
return 1;
|
161
|
161
|
|
162
|
162
|
/* Load image */
|
|
@@ -180,7 +180,7 @@ static int initrd_exec ( int argc, char **argv ) {
|
180
|
180
|
struct image *image;
|
181
|
181
|
int rc;
|
182
|
182
|
|
183
|
|
- if ( ( rc = imgfetch_core_exec ( argc, argv, 0, &image ) != 0 ) )
|
|
183
|
+ if ( ( rc = imgfetch_core_exec ( argc, argv, 0, &image ) ) != 0 )
|
184
|
184
|
return 1;
|
185
|
185
|
|
186
|
186
|
/* Mark image as an intird */
|