Style fix.

2005/03/10 12:24:53-08:00 net[shemminger]!shemminger
Import patch iproute-batch.1.050209.patch

(Logical change 1.162)
This commit is contained in:
osdl.net!shemminger 2005-03-14 19:02:41 +00:00
parent 024481bbe1
commit 94c9cc51eb

View File

@ -23,7 +23,7 @@
#include "utils.h"
#include "tc_util.h"
static void est_help(void) __attribute__((noreturn));
static void est_help(void);
static void est_help(void)
{
@ -31,7 +31,7 @@ static void est_help(void)
fprintf(stderr, " INTERVAL is interval between measurements\n");
fprintf(stderr, " TIME-CONST is averaging time constant\n");
fprintf(stderr, "Example: ... est 1sec 8sec\n");
exit(-1);
return;
}
int parse_estimator(int *p_argc, char ***p_argv, struct tc_estimator *est)
@ -54,7 +54,7 @@ int parse_estimator(int *p_argc, char ***p_argv, struct tc_estimator *est)
invarg("estimator", "invalid estimator time constant");
if (tc_setup_estimator(A, time_const, est) < 0) {
fprintf(stderr, "Error: estimator parameters are out of range.\n");
exit(-1);
return -1;
}
if (show_raw)
fprintf(stderr, "[estimator i=%u e=%u]\n", est->interval, est->ewma_log);