merge soc07 r4918 - changing a couple more hardcoded function names

This commit is contained in:
fyodor 2007-08-11 04:21:22 +00:00
parent f2e0ddb40a
commit 0c123a1056
2 changed files with 2 additions and 2 deletions

View file

@ -3415,7 +3415,7 @@ static void processData(UltraScanInfo *USI) {
long tv_diff;
gettimeofday(&USI->now, NULL);
tv_diff = TIMEVAL_MSEC_SUBTRACT(USI->now, tv_start);
if (tv_diff > 30) printf("processData took %lims\n", tv_diff);
if (tv_diff > 30) printf("%s took %lims\n", __func__, tv_diff);
}
}

View file

@ -184,7 +184,7 @@ const char *proto2ascii(u8 proto, bool uppercase) {
}
static char *ll2shortascii(unsigned long long bytes, char *buf, int buflen) {
if (buflen < 2 || !buf) fatal("Bogus parameter passed to ll2shortascii");
if (buflen < 2 || !buf) fatal("Bogus parameter passed to %s", __func__);
if (bytes > 1000000) {
snprintf(buf, buflen, "%.3fMB", bytes / 1000000.0);