projects
/
platform
/
upstream
/
multipath-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bce6379
)
[kpartx] missing ptr init
author
Christophe Varoqui
<christophe.varoqui@free.fr>
Wed, 10 Oct 2007 20:42:55 +0000
(22:42 +0200)
committer
Christophe Varoqui
<christophe.varoqui@free.fr>
Wed, 10 Oct 2007 20:42:55 +0000
(22:42 +0200)
Redhat fix, pushed by Gerald Nowitzky.
kpartx/devmapper.c
patch
|
blob
|
history
diff --git
a/kpartx/devmapper.c
b/kpartx/devmapper.c
index
6e3e198
..
3e973aa
100644
(file)
--- a/
kpartx/devmapper.c
+++ b/
kpartx/devmapper.c
@@
-75,7
+75,7
@@
dm_addmap (int task, const char *name, const char *target,
const char *params, unsigned long size, const char *uuid, int part) {
int r = 0;
struct dm_task *dmt;
- char *prefixed_uuid;
+ char *prefixed_uuid
= NULL
;
if (!(dmt = dm_task_create (task)))
return 0;