summaryrefslogtreecommitdiffstats
path: root/atasmart.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2009-04-24 19:31:28 +0200
committerLennart Poettering <lennart@poettering.net>2009-04-24 19:31:28 +0200
commitc2eea98aee0642240680bb04d9e4296b92af8813 (patch)
treeaa61c1bdcc3a91a35f617bfce7fd1c9ce13d8430 /atasmart.c
parente9e9be9def29ecf57c5d6c1187c7e7e00f165e47 (diff)
add missing 'else'
Diffstat (limited to 'atasmart.c')
-rw-r--r--atasmart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/atasmart.c b/atasmart.c
index 8e21adb..8d9bc5a 100644
--- a/atasmart.c
+++ b/atasmart.c
@@ -2227,7 +2227,7 @@ static int disk_find_type(SkDisk *d, dev_t devnum) {
if ((vid == 0x0c0b && pid == 0xb159) ||
(vid == 0x04fc && pid == 0x0c25))
d->type = SK_DISK_TYPE_SUNPLUS;
- if ((vid == 0x152d && pid == 0x2329) ||
+ else if ((vid == 0x152d && pid == 0x2329) ||
(vid == 0x152d && pid == 0x2336) ||
(vid == 0x152d && pid == 0x2338) ||
(vid == 0x152d && pid == 0x2339))