1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-25 17:09:02 +00:00

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

@@ -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);