diff options
author | Jeremy Katz <katzj@redhat.com> | 2004-06-11 16:02:53 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2004-06-11 16:02:53 +0000 |
commit | a19bf2194aeefced3f66ff51dd5c875678733a1f (patch) | |
tree | c130919fc8f5fd8be8984b57c40aecb6ef11c183 /loader2/net.c | |
parent | 03a43fbad455a1aadc562621ac27068548eb2fb3 (diff) | |
download | anaconda-a19bf2194aeefced3f66ff51dd5c875678733a1f.tar.gz anaconda-a19bf2194aeefced3f66ff51dd5c875678733a1f.tar.xz anaconda-a19bf2194aeefced3f66ff51dd5c875678733a1f.zip |
sort net devs (#122782)
Diffstat (limited to 'loader2/net.c')
-rw-r--r-- | loader2/net.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/loader2/net.c b/loader2/net.c index 2bca6edf0..10f2845c2 100644 --- a/loader2/net.c +++ b/loader2/net.c @@ -929,6 +929,8 @@ int chooseNetworkInterface(struct loaderData_s * loaderData, devices[deviceNums] = NULL; deviceNames[deviceNums] = NULL; + qsort(devices, deviceNums, sizeof(*devices), simpleStringCmp); + qsort(deviceNames, deviceNums, sizeof(*devices), simpleStringCmp); /* ASSERT: we should *ALWAYS* have a network device when we get here */ if (!deviceNums) { |