whitespace fixes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2010-07-06 18:46:02 +02:00
parent 7a2aa87c75
commit 8f65b0cf31
3 changed files with 3 additions and 3 deletions

View 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. */

View 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 {

View 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;