mirror of
https://github.com/systemd/systemd.git
synced 2024-11-23 18:23:32 +08:00
parent
8a5a01d19c
commit
d1a61dfa69
@ -1311,7 +1311,7 @@ static int fd_set_attribute(Item *item, int fd, const char *path, const struct s
|
||||
unsigned previous, current;
|
||||
r = chattr_full(NULL, procfs_fd, f, item->attribute_mask, &previous, ¤t, true);
|
||||
if (r == -ENOANO)
|
||||
log_warning("Cannot set file attributes for '%s', maybe due to incompatiblity in specified attributes, "
|
||||
log_warning("Cannot set file attributes for '%s', maybe due to incompatibility in specified attributes, "
|
||||
"previous=0x%08x, current=0x%08x, expected=0x%08x, ignoring.",
|
||||
path, previous, current, (previous & ~item->attribute_mask) | (f & item->attribute_mask));
|
||||
else if (r < 0)
|
||||
|
Loading…
Reference in New Issue
Block a user