whitespace fixes
authorDenys Vlasenko <vda.linux@googlemail.com>
Tue, 6 Jul 2010 16:46:02 +0000 (18:46 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Tue, 6 Jul 2010 16:46:02 +0000 (18:46 +0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
archival/tar.c
coreutils/realpath.c
util-linux/fdisk.c

index 9dd74536edb010fbc748c83df36e9b804b3831ab..5ddff7fa502216d1feaf64e1d540baab6608f519 100644 (file)
@@ -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. */
index 90a71ed7ddf282732d02fa91099008f2299bc565..3bc40ee0454e5c3d48d6c6a9a55b12e919fd3dd7 100644 (file)
@@ -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 {
index 7227a829ec910c96cfa6f5a7508f2d5eec250246..aa718c7879c16e79ba2cf716aea01037b664a24c 100644 (file)
@@ -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;