projects
/
platform
/
upstream
/
btrfs-progs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
btrfs-progs: Remove fprintf() in find_mount_root().
[platform/upstream/btrfs-progs.git]
/
utils.c
diff --git
a/utils.c
b/utils.c
index
18034e1
..
3d467c5
100644
(file)
--- a/
utils.c
+++ b/
utils.c
@@
-2356,12
+2356,8
@@
int find_mount_root(const char *path, char **mount_root)
}
endmntent(mnttab);
- if (!longest_match) {
- fprintf(stderr,
- "ERROR: Failed to find mount root for path %s.\n",
- path);
+ if (!longest_match)
return -ENOENT;
- }
ret = 0;
*mount_root = realpath(longest_match, NULL);