diff options
Diffstat (limited to 'Documentation/networking/ifenslave.c')
-rw-r--r-- | Documentation/networking/ifenslave.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/Documentation/networking/ifenslave.c b/Documentation/networking/ifenslave.c index 2bac9618c345..65968fbf1e49 100644 --- a/Documentation/networking/ifenslave.c +++ b/Documentation/networking/ifenslave.c | |||
@@ -260,7 +260,7 @@ int main(int argc, char *argv[]) | |||
260 | case 'V': opt_V++; exclusive++; break; | 260 | case 'V': opt_V++; exclusive++; break; |
261 | 261 | ||
262 | case '?': | 262 | case '?': |
263 | fprintf(stderr, usage_msg); | 263 | fprintf(stderr, "%s", usage_msg); |
264 | res = 2; | 264 | res = 2; |
265 | goto out; | 265 | goto out; |
266 | } | 266 | } |
@@ -268,13 +268,13 @@ int main(int argc, char *argv[]) | |||
268 | 268 | ||
269 | /* options check */ | 269 | /* options check */ |
270 | if (exclusive > 1) { | 270 | if (exclusive > 1) { |
271 | fprintf(stderr, usage_msg); | 271 | fprintf(stderr, "%s", usage_msg); |
272 | res = 2; | 272 | res = 2; |
273 | goto out; | 273 | goto out; |
274 | } | 274 | } |
275 | 275 | ||
276 | if (opt_v || opt_V) { | 276 | if (opt_v || opt_V) { |
277 | printf(version); | 277 | printf("%s", version); |
278 | if (opt_V) { | 278 | if (opt_V) { |
279 | res = 0; | 279 | res = 0; |
280 | goto out; | 280 | goto out; |
@@ -282,14 +282,14 @@ int main(int argc, char *argv[]) | |||
282 | } | 282 | } |
283 | 283 | ||
284 | if (opt_u) { | 284 | if (opt_u) { |
285 | printf(usage_msg); | 285 | printf("%s", usage_msg); |
286 | res = 0; | 286 | res = 0; |
287 | goto out; | 287 | goto out; |
288 | } | 288 | } |
289 | 289 | ||
290 | if (opt_h) { | 290 | if (opt_h) { |
291 | printf(usage_msg); | 291 | printf("%s", usage_msg); |
292 | printf(help_msg); | 292 | printf("%s", help_msg); |
293 | res = 0; | 293 | res = 0; |
294 | goto out; | 294 | goto out; |
295 | } | 295 | } |
@@ -309,7 +309,7 @@ int main(int argc, char *argv[]) | |||
309 | goto out; | 309 | goto out; |
310 | } else { | 310 | } else { |
311 | /* Just show usage */ | 311 | /* Just show usage */ |
312 | fprintf(stderr, usage_msg); | 312 | fprintf(stderr, "%s", usage_msg); |
313 | res = 2; | 313 | res = 2; |
314 | goto out; | 314 | goto out; |
315 | } | 315 | } |
@@ -320,7 +320,7 @@ int main(int argc, char *argv[]) | |||
320 | master_ifname = *spp++; | 320 | master_ifname = *spp++; |
321 | 321 | ||
322 | if (master_ifname == NULL) { | 322 | if (master_ifname == NULL) { |
323 | fprintf(stderr, usage_msg); | 323 | fprintf(stderr, "%s", usage_msg); |
324 | res = 2; | 324 | res = 2; |
325 | goto out; | 325 | goto out; |
326 | } | 326 | } |
@@ -339,7 +339,7 @@ int main(int argc, char *argv[]) | |||
339 | 339 | ||
340 | if (slave_ifname == NULL) { | 340 | if (slave_ifname == NULL) { |
341 | if (opt_d || opt_c) { | 341 | if (opt_d || opt_c) { |
342 | fprintf(stderr, usage_msg); | 342 | fprintf(stderr, "%s", usage_msg); |
343 | res = 2; | 343 | res = 2; |
344 | goto out; | 344 | goto out; |
345 | } | 345 | } |