projects
/
platform
/
upstream
/
cryptsetup.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix mapping removal if device disappeared but node still exists.
[platform/upstream/cryptsetup.git]
/
lib
/
utils.c
diff --git
a/lib/utils.c
b/lib/utils.c
index
d950a42
..
a7408e3
100644
(file)
--- a/
lib/utils.c
+++ b/
lib/utils.c
@@
-260,7
+260,7
@@
int device_ready(struct crypt_device *cd, const char *device, int mode)
/* Try to read first sector */
s = read_blockwise(devfd, buf, sizeof(buf));
if (s < 0 || s != sizeof(buf)) {
- log_
err
(cd, _("Cannot read device %s.\n"), device);
+ log_
verbose
(cd, _("Cannot read device %s.\n"), device);
r = 0;
}