fd18ffd36e
OBS-URL: https://build.opensuse.org/package/show/Base:System/dmraid?expand=0&rev=4b64dd49a32df5cd73a05705b37ebcb1
13 lines
414 B
Diff
13 lines
414 B
Diff
diff -up 1.0.0.rc15/lib/format/ataraid/isw.c~ 1.0.0.rc15/lib/format/ataraid/isw.c
|
|
--- 1.0.0.rc15/lib/format/ataraid/isw.c~ 2008-09-17 08:58:52.000000000 -0400
|
|
+++ 1.0.0.rc15/lib/format/ataraid/isw.c 2009-02-05 07:04:35.576126020 -0500
|
|
@@ -155,7 +155,7 @@ name(struct lib_context *lc, struct raid
|
|
|
|
while (i--) {
|
|
if (disk == isw->disk + i) {
|
|
- id = i % 2;
|
|
+ id = i / 2;
|
|
goto ok;
|
|
}
|
|
}
|