mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-25 06:03:40 +03:00
dissect: use log_debug_errno() where appropriate
This commit is contained in:
parent
700e0d3d87
commit
58dfbfbdd6
@ -75,10 +75,9 @@ int probe_filesystem(const char *node, char **ret_fstype) {
|
|||||||
log_debug("No type detected on partition %s", node);
|
log_debug("No type detected on partition %s", node);
|
||||||
goto not_found;
|
goto not_found;
|
||||||
}
|
}
|
||||||
if (r == -2) {
|
if (r == -2)
|
||||||
log_debug("Results ambiguous for partition %s", node);
|
return log_debug_errno(SYNTHETIC_ERRNO(EUCLEAN),
|
||||||
return -EUCLEAN;
|
"Results ambiguous for partition %s", node);
|
||||||
}
|
|
||||||
if (r != 0)
|
if (r != 0)
|
||||||
return errno_or_else(EIO);
|
return errno_or_else(EIO);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user