aboutsummaryrefslogtreecommitdiff
path: root/networking/libiproute/utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/libiproute/utils.c')
-rw-r--r--networking/libiproute/utils.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/networking/libiproute/utils.c b/networking/libiproute/utils.c
index 094a3b0ac..552f4bf77 100644
--- a/networking/libiproute/utils.c
+++ b/networking/libiproute/utils.c
@@ -206,10 +206,10 @@ int get_prefix_1(inet_prefix * dst, char *arg, int family)
206int get_addr(inet_prefix * dst, char *arg, int family) 206int get_addr(inet_prefix * dst, char *arg, int family)
207{ 207{
208 if (family == AF_PACKET) { 208 if (family == AF_PACKET) {
209 bb_error_msg_and_die("\"%s\" may be inet address, but it is not allowed in this context.", arg); 209 bb_error_msg_and_die("\"%s\" may be inet address, but it is not allowed in this context", arg);
210 } 210 }
211 if (get_addr_1(dst, arg, family)) { 211 if (get_addr_1(dst, arg, family)) {
212 bb_error_msg_and_die("an inet address is expected rather than \"%s\".", arg); 212 bb_error_msg_and_die("an inet address is expected rather than \"%s\"", arg);
213 } 213 }
214 return 0; 214 return 0;
215} 215}
@@ -217,10 +217,10 @@ int get_addr(inet_prefix * dst, char *arg, int family)
217int get_prefix(inet_prefix * dst, char *arg, int family) 217int get_prefix(inet_prefix * dst, char *arg, int family)
218{ 218{
219 if (family == AF_PACKET) { 219 if (family == AF_PACKET) {
220 bb_error_msg_and_die("\"%s\" may be inet address, but it is not allowed in this context.", arg); 220 bb_error_msg_and_die("\"%s\" may be inet address, but it is not allowed in this context", arg);
221 } 221 }
222 if (get_prefix_1(dst, arg, family)) { 222 if (get_prefix_1(dst, arg, family)) {
223 bb_error_msg_and_die("an inet address is expected rather than \"%s\".", arg); 223 bb_error_msg_and_die("an inet address is expected rather than \"%s\"", arg);
224 } 224 }
225 return 0; 225 return 0;
226} 226}
@@ -237,7 +237,7 @@ __u32 get_addr32(char *name)
237 237
238void incomplete_command(void) 238void incomplete_command(void)
239{ 239{
240 bb_error_msg("Command line is not complete. Try option \"help\""); 240 bb_error_msg("command line is not complete, try option \"help\"");
241 exit(-1); 241 exit(-1);
242} 242}
243 243
@@ -249,13 +249,13 @@ void invarg(const char * const arg, const char * const opt)
249 249
250void duparg(char *key, char *arg) 250void duparg(char *key, char *arg)
251{ 251{
252 bb_error_msg("duplicate \"%s\": \"%s\" is the second value.", key, arg); 252 bb_error_msg("duplicate \"%s\": \"%s\" is the second value", key, arg);
253 exit(-1); 253 exit(-1);
254} 254}
255 255
256void duparg2(char *key, char *arg) 256void duparg2(char *key, char *arg)
257{ 257{
258 bb_error_msg("either \"%s\" is duplicate, or \"%s\" is a garbage.", key, arg); 258 bb_error_msg("either \"%s\" is duplicate, or \"%s\" is a garbage", key, arg);
259 exit(-1); 259 exit(-1);
260} 260}
261 261