mirror of
https://github.com/sheumann/hush.git
synced 2024-12-27 16:31:24 +00:00
whitespace fixes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
7a2aa87c75
commit
8f65b0cf31
@ -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. */
|
||||
|
@ -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 {
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user