From 9f979c6da8d401865797eae753fa99ab585f5010 Mon Sep 17 00:00:00 2001 From: kris Date: Fri, 19 Mar 2010 05:11:58 +0000 Subject: [PATCH] use __func__, and fix space in output --- nmap.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nmap.cc b/nmap.cc index 9dc10115f..4c2b63d1b 100644 --- a/nmap.cc +++ b/nmap.cc @@ -2152,7 +2152,7 @@ void init_socket(int sd) { res=bind(sd, (struct sockaddr*)&ss, sslen); if (res<0) { - error("init_socket: Problem binding source address (%s), errno :%d", inet_socktop(&ss), socket_errno()); + error("%s: Problem binding source address (%s), errno: %d", __func__, inet_socktop(&ss), socket_errno()); perror("bind"); bind_failed=1; }