diff options
author | Denys Vlasenko | 2010-07-06 18:46:02 +0200 |
---|---|---|
committer | Denys Vlasenko | 2010-07-06 18:46:02 +0200 |
commit | 8f65b0cf31837e3400e1f54f6826198d8ca81b42 (patch) | |
tree | 7d7a4f1c2757ac884cc8e363e012a2b61551359a | |
parent | 7a2aa87c7555a678e92d00c860e25b83305ee064 (diff) | |
download | busybox-8f65b0cf31837e3400e1f54f6826198d8ca81b42.zip busybox-8f65b0cf31837e3400e1f54f6826198d8ca81b42.tar.gz |
whitespace fixes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | archival/tar.c | 2 | ||||
-rw-r--r-- | coreutils/realpath.c | 2 | ||||
-rw-r--r-- | util-linux/fdisk.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/archival/tar.c b/archival/tar.c index 9dd7453..5ddff7f 100644 --- a/archival/tar.c +++ b/archival/tar.c @@ -237,7 +237,7 @@ static int writeTarHeader(struct TarBallInfo *tbInfo, struct tar_header_t header; memset(&header, 0, sizeof(header)); - + strncpy(header.name, header_name, sizeof(header.name)); /* POSIX says to mask mode with 07777. */ diff --git a/coreutils/realpath.c b/coreutils/realpath.c index 90a71ed..3bc40ee 100644 --- a/coreutils/realpath.c +++ b/coreutils/realpath.c @@ -23,7 +23,7 @@ int realpath_main(int argc UNUSED_PARAM, char **argv) do { char *resolved_path = xmalloc_realpath(*argv); - if (resolved_path != NULL) { + if (resolved_path != NULL) { puts(resolved_path); free(resolved_path); } else { diff --git a/util-linux/fdisk.c b/util-linux/fdisk.c index 7227a82..aa718c7 100644 --- a/util-linux/fdisk.c +++ b/util-linux/fdisk.c @@ -2805,7 +2805,7 @@ list_devs_in_proc_partititons(void) &ma, &mi, &sz, ptname) != 4) continue; for (s = ptname; *s; s++) - continue; + continue; /* note: excluding '0': e.g. mmcblk0 is not a partition name! */ if (s[-1] >= '1' && s[-1] <= '9') continue; |