diff --git a/src/tmpfiles/tmpfiles.c b/src/tmpfiles/tmpfiles.c index 620ab9486e..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);