summaryrefslogtreecommitdiffstats
path: root/isys
diff options
context:
space:
mode:
Diffstat (limited to 'isys')
-rw-r--r--isys/probe.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/isys/probe.c b/isys/probe.c
index 3f97364f0..932ac16ca 100644
--- a/isys/probe.c
+++ b/isys/probe.c
@@ -426,6 +426,8 @@ static int dac960GetDevices(struct knownDevices * devices) {
while (start && (start = strstr(start, "/dev/rd/"))) {
start += 5;
chptr = strchr(start, ':');
+ if (!chptr)
+ continue;
*chptr = '\0';
if (!deviceKnown(devices, start)) {