Skip to content

Commit

Permalink
libmetrics: don't abort on error collecting metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
carenas committed Dec 6, 2009
1 parent c547d7b commit d7efa09
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion libmetrics/dragonfly/metrics.c
Original file line number Diff line number Diff line change
Expand Up @@ -988,7 +988,7 @@ get_netbw(double *in_bytes, double *out_bytes,
fprintf(stderr, "msglen = %d\n", ifm->ifm_msglen);
fprintf(stderr, "buf:%p, next:%p, lim:%p\n", buf, next,
lim);
exit (1);
goto output;
}

next += ifm->ifm_msglen;
Expand Down
2 changes: 1 addition & 1 deletion libmetrics/freebsd/metrics.c
Original file line number Diff line number Diff line change
Expand Up @@ -1151,7 +1151,7 @@ get_netbw(double *in_bytes, double *out_bytes,
fprintf(stderr, "msglen = %d\n", ifm->ifm_msglen);
fprintf(stderr, "buf:%p, next:%p, lim:%p\n", buf, next,
lim);
exit (1);
goto output;
}

next += ifm->ifm_msglen;
Expand Down
2 changes: 1 addition & 1 deletion libmetrics/netbsd/metrics.c
Original file line number Diff line number Diff line change
Expand Up @@ -1147,7 +1147,7 @@ get_netbw(double *in_bytes, double *out_bytes,
fprintf(stderr, "msglen = %d\n", ifm->ifm_msglen);
fprintf(stderr, "buf:%p, next:%p, lim:%p\n", buf, next,
lim);
exit (1);
goto output;
}

next += ifm->ifm_msglen;
Expand Down
2 changes: 1 addition & 1 deletion libmetrics/openbsd/metrics.c
Original file line number Diff line number Diff line change
Expand Up @@ -956,7 +956,7 @@ get_netbw(double *in_bytes, double *out_bytes,
fprintf(stderr, "msglen = %d\n", ifm->ifm_msglen);
fprintf(stderr, "buf:%p, next:%p, lim:%p\n", buf, next,
lim);
exit (1);
goto output;
}

next += ifm->ifm_msglen;
Expand Down

0 comments on commit d7efa09

Please sign in to comment.