projects
/
platform
/
upstream
/
cryptsetup.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d68754
)
Print empty line in status if underlying device disappeared.
author
Milan Broz
<gmazyland@gmail.com>
Sun, 30 May 2010 17:38:11 +0000
(17:38 +0000)
committer
Milan Broz
<gmazyland@gmail.com>
Sun, 30 May 2010 17:38:11 +0000
(17:38 +0000)
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@243
36d66b0a
-2a48-0410-832c-
cd162a569da5
src/cryptsetup.c
patch
|
blob
|
history
diff --git
a/src/cryptsetup.c
b/src/cryptsetup.c
index
87ef6ff
..
2b48e41
100644
(file)
--- a/
src/cryptsetup.c
+++ b/
src/cryptsetup.c
@@
-282,7
+282,7
@@
static int action_status(int arg)
log_std("%s/%s is active:\n", crypt_get_dir(), options.name);
log_std(" cipher: %s\n", options.cipher);
log_std(" keysize: %d bits\n", options.key_size * 8);
- log_std(" device: %s\n", options.device);
+ log_std(" device: %s\n", options.device
?: ""
);
log_std(" offset: %" PRIu64 " sectors\n", options.offset);
log_std(" size: %" PRIu64 " sectors\n", options.size);
if (options.skip)