diff options
author | Matt Wilson <msw@redhat.com> | 2001-07-19 18:54:58 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 2001-07-19 18:54:58 +0000 |
commit | 3802bdefdd62b5d7a8728c5b8c85be873d983827 (patch) | |
tree | 67551552b9ad9f64912e873ba9926cefdaf966be /isys | |
parent | 5653193f97c9dbc72677b265f3ff4de099b8d14d (diff) | |
download | anaconda-3802bdefdd62b5d7a8728c5b8c85be873d983827.tar.gz anaconda-3802bdefdd62b5d7a8728c5b8c85be873d983827.tar.xz anaconda-3802bdefdd62b5d7a8728c5b8c85be873d983827.zip |
obob
Diffstat (limited to 'isys')
-rw-r--r-- | isys/devnodes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/isys/devnodes.c b/isys/devnodes.c index db61b346a..4d47a6f8c 100644 --- a/isys/devnodes.c +++ b/isys/devnodes.c @@ -166,7 +166,7 @@ int devMakeInode(char * devName, char * path) { /* dac 960 "/rd/c0d0{p1}" */ int rc, c, d, p; c = d = p = 0; - rc = sscanf(devName + 4, "c%dd%dp%d", &c, &d, &p); + rc = sscanf(devName + 3, "c%dd%dp%d", &c, &d, &p); type = S_IFBLK; major = 48 + c; /* controller */ minor = d * 8; /* disk */ |