summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2011-01-05 23:49:53 +0100
committerMichal Marek <mmarek@suse.cz>2011-01-05 23:49:53 +0100
commita3c888fcda911fcb6e3c071aecf49ccb6effe79d (patch)
tree5d264bc6d0c605fb01d528816a4ffa724c300072
parent96aebafa63418f447ddc823e40da341cc40553dd (diff)
downloadlinux-stable-a3c888fcda911fcb6e3c071aecf49ccb6effe79d.tar.gz
linux-stable-a3c888fcda911fcb6e3c071aecf49ccb6effe79d.tar.bz2
linux-stable-a3c888fcda911fcb6e3c071aecf49ccb6effe79d.zip
gen_init_cpio: checkpatch fixes
Cc: Jesper Juhl <jj@chaosbits.net> Cc: Michal Marek <mmarek@suse.cz> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Michal Marek <mmarek@suse.cz>
-rw-r--r--usr/gen_init_cpio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/gen_init_cpio.c b/usr/gen_init_cpio.c
index f463cafdccb2..7f06884ecd41 100644
--- a/usr/gen_init_cpio.c
+++ b/usr/gen_init_cpio.c
@@ -315,9 +315,9 @@ static int cpio_mkfile(const char *name, const char *location,
goto error;
}
- retval = fstat (file, &buf);
+ retval = fstat(file, &buf);
if (retval) {
- fprintf (stderr, "File %s could not be stat()'ed\n", location);
+ fprintf(stderr, "File %s could not be stat()'ed\n", location);
goto error;
}