style fixes, no code changes

This commit is contained in:
Denis Vlasenko
2008-09-27 14:03:25 +00:00
parent bed22a01fb
commit d6855d1b50
5 changed files with 19 additions and 19 deletions

View File

@ -37,7 +37,7 @@ void check_plausibility(const char *device, int force)
val = stat(device, &s);
if (force)
return;
if(val == -1)
if (val == -1)
bb_perror_msg_and_die("cannot stat %s", device);
if (!S_ISBLK(s.st_mode)) {
printf("%s is not a block special device.\n", device);
@ -220,13 +220,13 @@ void make_journal_device(char *journal_device, ext2_filsys fs, int quiet, int fo
fs->blocksize, io_ptr, &jfs);
if (retval)
bb_error_msg_and_die("cannot journal device %s", journal_device);
if(!quiet)
if (!quiet)
printf("Adding journal to device %s: ", journal_device);
fflush(stdout);
retval = ext2fs_add_journal_device(fs, jfs);
if(retval)
if (retval)
bb_error_msg_and_die("\nFailed to add journal to device %s", journal_device);
if(!quiet)
if (!quiet)
puts("done");
ext2fs_close(jfs);
}
@ -242,14 +242,14 @@ void make_journal_blocks(ext2_filsys fs, int journal_size, int journal_flags, in
~EXT3_FEATURE_COMPAT_HAS_JOURNAL;
return;
}
if(!quiet)
if (!quiet)
printf("Creating journal (%ld blocks): ", journal_blocks);
fflush(stdout);
retval = ext2fs_add_journal_inode(fs, journal_blocks,
journal_flags);
if(retval)
if (retval)
bb_error_msg_and_die("cannot create journal");
if(!quiet)
if (!quiet)
puts("done");
}
@ -262,6 +262,6 @@ char *e2fs_set_sbin_path(void)
oldpath = xasprintf("%s:%s", PATH_SET, oldpath);
else
oldpath = PATH_SET;
putenv (oldpath);
putenv(oldpath);
return oldpath;
}