diff options
author | Bill Nottingham <notting@redhat.com> | 2000-02-22 01:58:02 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2000-02-22 01:58:02 +0000 |
commit | 065455096562fd4d4c616bb39c4ca711fa10cb79 (patch) | |
tree | 1906bb73be81b3a845e31fcf9ade4c3d2eba38dc /loader/modules.c | |
parent | e598efb11f858ef788d1aa48c1ba92de2dfa6273 (diff) | |
download | anaconda-065455096562fd4d4c616bb39c4ca711fa10cb79.tar.gz anaconda-065455096562fd4d4c616bb39c4ca711fa10cb79.tar.xz anaconda-065455096562fd4d4c616bb39c4ca711fa10cb79.zip |
tokenring devices have numbers too
Diffstat (limited to 'loader/modules.c')
-rw-r--r-- | loader/modules.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/loader/modules.c b/loader/modules.c index afbd2b6b4..bcadd970f 100644 --- a/loader/modules.c +++ b/loader/modules.c @@ -254,6 +254,7 @@ int mlWriteConfModules(moduleList list, moduleInfoSet modInfo, int fd) { struct moduleInfo * mi; int scsiNum = 0; int ethNum = 0; + int trNum = 0; char ** arg; if (!list) return 0; @@ -283,7 +284,8 @@ int mlWriteConfModules(moduleList list, moduleInfoSet modInfo, int fd) { strcat(buf, buf2); break; case DRIVER_MINOR_TR: - strcat(buf, "tr "); + sprintf(buf2, "tr%d ", trNum++); + strcat(buf, buf2); break; default: } |