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:
70c9daa
)
[kpartx] partition type check was flawed
author
Christophe Varoqui
<root@xa-s05.(none)>
Thu, 20 Oct 2005 13:28:45 +0000
(15:28 +0200)
committer
Christophe Varoqui
<root@xa-s05.(none)>
Thu, 20 Oct 2005 13:28:45 +0000
(15:28 +0200)
Lars Soltau, IBM
kpartx/kpartx.c
patch
|
blob
|
history
diff --git
a/kpartx/kpartx.c
b/kpartx/kpartx.c
index
cf7eda9
..
12b80a4
100644
(file)
--- a/
kpartx/kpartx.c
+++ b/
kpartx/kpartx.c
@@
-315,7
+315,7
@@
main(int argc, char **argv){
for (i = 0; i < ptct; i++) {
ptp = &pts[i];
- if (type && strcmp(type, ptp->type)
> 0
)
+ if (type && strcmp(type, ptp->type))
continue;
/* here we get partitions */