diff --git a/perf/local_thr.cpp b/perf/local_thr.cpp index 54de9498..016826bc 100644 --- a/perf/local_thr.cpp +++ b/perf/local_thr.cpp @@ -47,7 +47,7 @@ int main (int argc, char *argv []) ctx = zmq_init (1); if (!ctx) { - printf ("error in zmq_send: %s\n", zmq_strerror (errno)); + printf ("error in zmq_init: %s\n", zmq_strerror (errno)); return -1; } diff --git a/perf/remote_thr.cpp b/perf/remote_thr.cpp index c0ad9df7..1e696010 100644 --- a/perf/remote_thr.cpp +++ b/perf/remote_thr.cpp @@ -44,7 +44,7 @@ int main (int argc, char *argv []) ctx = zmq_init (1); if (!ctx) { - printf ("error in zmq_recv: %s\n", zmq_strerror (errno)); + printf ("error in zmq_init: %s\n", zmq_strerror (errno)); return -1; }