GCC 3.3 and net-tools mii-tool

Alexander E. Patrakov semzx at newmail.ru
Sat May 17 07:36:27 PDT 2003

On Saturday 17 May 2003 17:59, Michael Wahlbrink wrote:
> Hi,
> when building the net-tools package I found a problem compiling mii-tool.c
> I've made the attached patch and it compiles and works now fine....
> I don't know if this patch is ok from the coding stile... I'm not a C
> programmer....


 const char *usage =
"usage: %s [-VvRrwl] [-A media,... | -F media] [interface ...]\n"
"       -V, --version               display version information\n"
"       -v, --verbose               more verbose output\n"
"       -R, --reset                 reset MII to poweron state\n"
"       -r, --restart               restart autonegotiation\n"
"       -w, --watch                 monitor for link status changes\n"
"       -l, --log                   with -w, write events to syslog\n"
"       -A, --advertise=media,...   advertise only specified media\n"
"       -F, --force=media           force specified media technology\n"
"media: 100baseT4, 100baseTx-FD, 100baseTx-HD, 10baseT-FD, 10baseT-HD,\n"
"        (to advertise both HD and FD) 100baseTx, 10baseT\n";

(not tested, but should be correct)

Alexander E. Patrakov

Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-dev' in the subject header of the message

More information about the lfs-dev mailing list