s390-dasd assumes all drives are on 0.0. prefix
Bug #1583138 reported by
Dimitri John Ledkov
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
s390-dasd (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
static int channel_device (const char *i)
{
unsigned int ret;
if (sscanf (i, "0.0.%04x", &ret) == 1)
if (sscanf (i, "%04x", &ret) == 1)
return -1;
}
And subsequenty assumes that dasd drive must be an integer, and always under 0.0. prefix. In actual fact 1.1. ids could be used too. At least, linux kernel can.
To post a comment you must log in.