diff options
author | Lennart Poettering <lennart@poettering.net> | 2012-08-08 23:54:21 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2012-08-08 23:54:21 +0200 |
commit | 64825d3c589cd8742887f30acde8c57eceac2001 (patch) | |
tree | 880c0f250aff9efb4aa2c2a892ad29479a987462 /src/cryptsetup | |
parent | c269cec334f940d82146f70d69125b1caef08baa (diff) |
fix a couple of issues found with llvm-analyze
Diffstat (limited to 'src/cryptsetup')
-rw-r--r-- | src/cryptsetup/cryptsetup-generator.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cryptsetup/cryptsetup-generator.c b/src/cryptsetup/cryptsetup-generator.c index c6bc65aecf..386714b4fd 100644 --- a/src/cryptsetup/cryptsetup-generator.c +++ b/src/cryptsetup/cryptsetup-generator.c @@ -374,8 +374,8 @@ int main(int argc, char *argv[]) { if (startswith(p, "luks-")) p += 5; - name = strappend("luks-", *i); - device = strappend("UUID=", *i); + name = strappend("luks-", p); + device = strappend("UUID=", p); if (!name || !device) { log_oom(); |