diff options
Diffstat (limited to 'isys')
-rw-r--r-- | isys/isys.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/isys/isys.c b/isys/isys.c index 5741ad326..1db81b8ab 100644 --- a/isys/isys.c +++ b/isys/isys.c @@ -1383,7 +1383,7 @@ static PyObject * doIsIdeRemovable(PyObject * s, PyObject * args) { close(fd); str[i - 1] = '\0'; /* chop off trailing \n */ - if (!strcmp(str, "floppy")) + if (!strcmp(str, "floppy") || !strcmp(str, "cdrom")) rc = 1; else rc = 0; |