diff options
author | Chris Lumens <clumens@redhat.com> | 2008-10-23 10:21:25 -0400 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2008-10-23 10:23:06 -0400 |
commit | b69ad6227daa1114488345b14d7cb67937e24021 (patch) | |
tree | 89be3c2d93643c78507162b8bb6c59bdc4d19c03 /loader | |
parent | 958fd99b44792260d5a8892377eb4ca1d71bdc9a (diff) | |
download | anaconda-b69ad6227daa1114488345b14d7cb67937e24021.tar.gz anaconda-b69ad6227daa1114488345b14d7cb67937e24021.tar.xz anaconda-b69ad6227daa1114488345b14d7cb67937e24021.zip |
Don't display the entire lengthy device description (#467825).
Diffstat (limited to 'loader')
-rw-r--r-- | loader/net.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/loader/net.c b/loader/net.c index f69a265c4..6f660bb77 100644 --- a/loader/net.c +++ b/loader/net.c @@ -1556,7 +1556,7 @@ int chooseNetworkInterface(struct loaderData_s * loaderData) { if (devs[i]->description) { deviceNames[deviceNums] = alloca(strlen(devs[i]->device) + strlen(devs[i]->description) + 4); - sprintf(deviceNames[deviceNums],"%s - %s", + sprintf(deviceNames[deviceNums],"%s - %.50s", devs[i]->device, devs[i]->description); if (strlen(deviceNames[deviceNums]) > max) max = strlen(deviceNames[deviceNums]); |