projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
700e0d3
)
dissect: use log_debug_errno() where appropriate
author
Lennart Poettering
<lennart@poettering.net>
Mon, 18 May 2020 16:30:49 +0000
(18:30 +0200)
committer
Lennart Poettering
<lennart@poettering.net>
Mon, 18 May 2020 16:41:56 +0000
(18:41 +0200)
src/shared/dissect-image.c
patch
|
blob
|
history
diff --git
a/src/shared/dissect-image.c
b/src/shared/dissect-image.c
index 23ad6b06cfa9f06ef307fc1798ff9c21d41765fd..8decac94b2238fd74011a57a66ae1357aa4c77f9 100644
(file)
--- a/
src/shared/dissect-image.c
+++ b/
src/shared/dissect-image.c
@@
-75,10
+75,9
@@
int probe_filesystem(const char *node, char **ret_fstype) {
log_debug("No type detected on partition %s", node);
goto not_found;
}
- if (r == -2) {
- log_debug("Results ambiguous for partition %s", node);
- return -EUCLEAN;
- }
+ if (r == -2)
+ return log_debug_errno(SYNTHETIC_ERRNO(EUCLEAN),
+ "Results ambiguous for partition %s", node);
if (r != 0)
return errno_or_else(EIO);