Skip to content

Commit

Permalink
udev: also logs file permission
Browse files Browse the repository at this point in the history
  • Loading branch information
yuwata committed Sep 8, 2019
1 parent 5abba26 commit 20eef7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/udev/udev-rules.c
Original file line number Diff line number Diff line change
Expand Up @@ -2304,7 +2304,7 @@ static int apply_static_dev_perms(const char *devnode, uid_t uid, gid_t gid, mod
return log_error_errno(errno, "Failed to chown '%s' %u %u: %m",
device_node, uid, gid);
else
log_debug("chown '%s' %u:%u", device_node, uid, gid);
log_debug("chown '%s' %u:%u with mode %#o", device_node, uid, gid, mode);

(void) utimensat(AT_FDCWD, device_node, NULL, 0);
return 0;
Expand Down

0 comments on commit 20eef7c

Please sign in to comment.