source:
scripts/patches/net-tools-1.60-gcc34-3.patch@
dc227cd
Last change on this file since dc227cd was 7f65c0e, checked in by , 19 years ago | |
---|---|
|
|
File size: 2.9 KB |
-
net-tools-1.
diff -uNr net-tools-1.60-orig/hostname.c net-tools-1.60/hostname.c
old new 78 78 fprintf(stderr, _("%s: name too long\n"), program_name); 79 79 break; 80 80 default: 81 ((void)0); 81 82 } 82 83 exit(1); 83 84 } … … 98 99 fprintf(stderr, _("%s: name too long\n"), program_name); 99 100 break; 100 101 default: 102 ((void)0); 101 103 } 102 104 exit(1); 103 105 }; … … 117 119 fprintf(stderr, _("%s: name too long\n"), program_name); 118 120 break; 119 121 default: 122 ((void)0); 120 123 } 121 124 exit(1); 122 125 }; … … 174 177 printf("%s\n", hp->h_name); 175 178 break; 176 179 default: 180 ((void)0); 177 181 } 178 182 } 179 183 -
lib/inet_sr.c
diff -uNr net-tools-1.60-orig/lib/inet_sr.c net-tools-1.60/lib/inet_sr.c
old new 105 105 case 2: 106 106 isnet = 0; break; 107 107 default: 108 ((void)0); 108 109 } 109 110 110 111 /* Fill in the other fields. */ -
net-tools-1.
diff -uNr net-tools-1.60-orig/mii-tool.c net-tools-1.60/mii-tool.c
old new 379 379 /*--------------------------------------------------------------------*/ 380 380 381 381 const char *usage = 382 "usage: %s [-VvRrwl] [-A media,... | -F media] [interface ...] 383 -V, --version display version information 384 -v, --verbose more verbose output 385 -R, --reset reset MII to poweron state 386 -r, --restart restart autonegotiation 387 -w, --watch monitor for link status changes 388 -l, --log with -w, write events to syslog 389 -A, --advertise=media,... advertise only specified media 390 -F, --force=media force specified media technology 391 media: 100baseT4, 100baseTx-FD, 100baseTx-HD, 10baseT-FD, 10baseT-HD, 392 (to advertise both HD and FD) 100baseTx, 10baseT\n";382 "usage: %s [-VvRrwl] [-A media,... | -F media] [interface ...]\n" 383 " -V, --version display version information\n" 384 " -v, --verbose more verbose output\n" 385 " -R, --reset reset MII to poweron state\n" 386 " -r, --restart restart autonegotiation\n" 387 " -w, --watch monitor for link status changes\n" 388 " -l, --log with -w, write events to syslog\n" 389 " -A, --advertise=media,... advertise only specified media\n" 390 " -F, --force=media force specified media technology\n" 391 "media: 100baseT4, 100baseTx-FD, 100baseTx-HD, 10baseT-FD, 10baseT-HD,\n" 392 " (to advertise both HD and FD) 100baseTx, 10baseT\n"; 393 393 394 394 int main(int argc, char **argv) 395 395 {
Note:
See TracBrowser
for help on using the repository browser.