diff options
Diffstat (limited to 'init/do_mounts_rd.c')
-rw-r--r-- | init/do_mounts_rd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/init/do_mounts_rd.c b/init/do_mounts_rd.c index 3ac5904d1b12..46dfd64ae8fb 100644 --- a/init/do_mounts_rd.c +++ b/init/do_mounts_rd.c | |||
@@ -212,7 +212,7 @@ int __init rd_load_image(char *from) | |||
212 | } | 212 | } |
213 | 213 | ||
214 | buf = kmalloc(BLOCK_SIZE, GFP_KERNEL); | 214 | buf = kmalloc(BLOCK_SIZE, GFP_KERNEL); |
215 | if (buf == 0) { | 215 | if (!buf) { |
216 | printk(KERN_ERR "RAMDISK: could not allocate buffer\n"); | 216 | printk(KERN_ERR "RAMDISK: could not allocate buffer\n"); |
217 | goto done; | 217 | goto done; |
218 | } | 218 | } |