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:
d5a13e8
)
Print error if luksHeaderBackup called for non-LUKS device.
author
Milan Broz
<gmazyland@gmail.com>
Fri, 13 Aug 2010 12:40:19 +0000
(12:40 +0000)
committer
Milan Broz
<gmazyland@gmail.com>
Fri, 13 Aug 2010 12:40:19 +0000
(12:40 +0000)
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@329
36d66b0a
-2a48-0410-832c-
cd162a569da5
luks/keymanage.c
patch
|
blob
|
history
diff --git
a/luks/keymanage.c
b/luks/keymanage.c
index
a7f61a4
..
efe05cd
100644
(file)
--- a/
luks/keymanage.c
+++ b/
luks/keymanage.c
@@
-95,7
+95,7
@@
int LUKS_hdr_backup(
return -EINVAL;
}
- r = LUKS_read_phdr(device, hdr,
0
, ctx);
+ r = LUKS_read_phdr(device, hdr,
1
, ctx);
if (r)
return r;