diff --git a/src/tmpfiles/tmpfiles.c b/src/tmpfiles/tmpfiles.c index 738f09a963..923c2c60f7 100644 --- a/src/tmpfiles/tmpfiles.c +++ b/src/tmpfiles/tmpfiles.c @@ -2569,10 +2569,10 @@ static int create_device( } } - log_debug("%s %s device node \"%s\" %u:%u.", + log_debug("%s %s device node \"%s\" " DEVNUM_FORMAT_STR ".", creation_mode_verb_to_string(creation), i->type == CREATE_BLOCK_DEVICE ? "block" : "char", - i->path, major(i->mode), minor(i->mode)); + i->path, DEVNUM_FORMAT_VAL(i->major_minor)); return fd_set_perms(c, i, fd, i->path, &st, creation); @@ -3486,8 +3486,7 @@ static int clean_item(Context *c, Item *i) { case CREATE_SUBVOLUME_INHERIT_QUOTA: case CREATE_SUBVOLUME_NEW_QUOTA: case COPY_FILES: - clean_item_instance(c, i, i->path, CREATION_EXISTING); - return 0; + return clean_item_instance(c, i, i->path, CREATION_EXISTING); case EMPTY_DIRECTORY: case IGNORE_PATH: