summaryrefslogtreecommitdiffstats
path: root/loader
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2001-03-13 21:05:56 +0000
committerMatt Wilson <msw@redhat.com>2001-03-13 21:05:56 +0000
commit90634b62e552d498224de3877b9c2f006f24367e (patch)
tree1f57922ecae69c8f4444865bb2cf4610591b2083 /loader
parentae301f15e70350c4386afd912fcb7a2dafd4cee9 (diff)
downloadanaconda-90634b62e552d498224de3877b9c2f006f24367e.tar.gz
anaconda-90634b62e552d498224de3877b9c2f006f24367e.tar.xz
anaconda-90634b62e552d498224de3877b9c2f006f24367e.zip
add the module name in () when displaying the list of modules available
Diffstat (limited to 'loader')
-rw-r--r--loader/devices.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/loader/devices.c b/loader/devices.c
index f82205dd9..a3f98e142 100644
--- a/loader/devices.c
+++ b/loader/devices.c
@@ -340,11 +340,13 @@ static int pickModule(moduleInfoSet modInfo, enum driverMajor type,
newtFormAddHotKey(form, NEWT_KEY_F2);
for (i = 0; i < numSorted; i++) {
+ char buf[80];
int num = sortedOrder[i].index;
- newtListboxAppendEntry(listbox,
- modInfo->moduleList[num].description,
- (void *) num);
+ snprintf (buf, sizeof(buf), "%s (%s)",
+ modInfo->moduleList[num].description,
+ modInfo->moduleList[num].moduleName);
+ newtListboxAppendEntry(listbox, buf, (void *) num);
if (modp && (modInfo->moduleList + num) == *modp)
newtListboxSetCurrentByKey(listbox, (void *) num);
}