From 4321038518cf7758b97e9e832de5fc133d37c72d Mon Sep 17 00:00:00 2001 From: Joachim Nilsson Date: Mon, 16 Jan 2017 00:59:32 +0100 Subject: [PATCH] bootmisc: Minor refactor Signed-off-by: Joachim Nilsson --- plugins/bootmisc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/bootmisc.c b/plugins/bootmisc.c index 3a9ebe0e..c60c2d6c 100644 --- a/plugins/bootmisc.c +++ b/plugins/bootmisc.c @@ -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);