From 0c123a1056bd5b957fd028022201ef3cc6321911 Mon Sep 17 00:00:00 2001 From: fyodor Date: Sat, 11 Aug 2007 04:21:22 +0000 Subject: [PATCH] merge soc07 r4918 - changing a couple more hardcoded function names --- scan_engine.cc | 2 +- tcpip.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scan_engine.cc b/scan_engine.cc index 72b311ccc..8aeae3d7b 100644 --- a/scan_engine.cc +++ b/scan_engine.cc @@ -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); } } diff --git a/tcpip.cc b/tcpip.cc index c3a6b4559..546db422f 100644 --- a/tcpip.cc +++ b/tcpip.cc @@ -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);