UBI: fix checkpatch.pl warnings
[linux-2.6.git] / drivers / mtd / ubi / io.c
index f60f700256f60cba23d7617bc222f9137a9759ed..a74118c05745f000fe317689a8b4824506a4f28d 100644 (file)
@@ -1034,7 +1034,7 @@ int ubi_io_write_vid_hdr(struct ubi_device *ubi, int pnum,
 
        err = paranoid_check_peb_ec_hdr(ubi, pnum);
        if (err)
-               return err > 0 ? -EINVAL: err;
+               return err > 0 ? -EINVAL : err;
 
        vid_hdr->magic = cpu_to_be32(UBI_VID_HDR_MAGIC);
        vid_hdr->version = UBI_VERSION;