mirror of
https://github.com/troglobit/finit.git
synced 2026-10-26 12:14:37 +00:00
bootmisc: Minor refactor
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
b84e32a6fe
commit
4321038518
1 file changed
+2
-2
+2
-2
@@ -70,9 +70,9 @@ static void create(char *path, mode_t mode, uid_t uid, gid_t gid)
|
||||
_w("Failed creating %s properl.", path);
|
||||
}
|
||||
|
||||
static int do_clean(const char *fpath, const struct stat *UNUSED(sb), int UNUSED(tflag), struct FTW *ftwbuf)
|
||||
static int do_clean(const char *fpath, const struct stat *UNUSED(sb), int UNUSED(tflag), struct FTW *ftw)
|
||||
{
|
||||
if (ftwbuf->level == 0)
|
||||
if (ftw->level == 0)
|
||||
return 1;
|
||||
|
||||
_d("Removing %s ...", fpath);
|
||||
|
||||
Reference in new issue
Block a user