diff options
| author | Dan Kenigsberg <danken@redhat.com> | 2012-08-16 02:25:56 +0000 |
|---|---|---|
| committer | Stephen Hemminger <shemminger@vyatta.com> | 2012-08-17 13:35:36 -0700 |
| commit | f1675d615bbf0807b597c982abee4027bb804cb7 (patch) | |
| tree | b7b98094afc743b23f20f6647feec48e57042e3e /ip/ip.c | |
| parent | 9069817033c4f588f733292a18e8e6feaf9d83d2 (diff) | |
| download | android_external_iproute2-f1675d615bbf0807b597c982abee4027bb804cb7.tar.gz android_external_iproute2-f1675d615bbf0807b597c982abee4027bb804cb7.tar.bz2 android_external_iproute2-f1675d615bbf0807b597c982abee4027bb804cb7.zip | |
utils: invarg: msg precedes the faulty arg
fix all call which reversed the arg order.
Signed-off-by: Dan Kenigsberg <danken@redhat.com>
Diffstat (limited to 'ip/ip.c')
| -rw-r--r-- | ip/ip.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -188,7 +188,7 @@ int main(int argc, char **argv) else if (strcmp(argv[1], "help") == 0) usage(); else - invarg(argv[1], "invalid protocol family"); + invarg("invalid protocol family", argv[1]); } else if (strcmp(opt, "-4") == 0) { preferred_family = AF_INET; } else if (strcmp(opt, "-6") == 0) { |
