fsck: coding style cleanup

Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
Karel Zak 2018-02-16 10:49:24 +01:00
parent 8bad4fc0d5
commit 5b1c32b887
1 changed files with 4 additions and 2 deletions

View File

@ -554,10 +554,12 @@ static char *find_fsck(const char *type)
xasprintf(&prog, tpl, s, type);
if (access(prog, X_OK) == 0)
break;
free(prog); prog = NULL;
free(prog);
prog = NULL;
}
free(p);
return(prog);
return prog;
}
static int progress_active(void)