diff --git a/perf/inproc_lat.cpp b/perf/inproc_lat.cpp index 17833a02..19dae8d2 100644 --- a/perf/inproc_lat.cpp +++ b/perf/inproc_lat.cpp @@ -229,9 +229,9 @@ int main (int argc, char *argv []) return -1; } - rc = zmq_term (ctx); + rc = zmq_ctx_term (ctx); if (rc != 0) { - printf ("error in zmq_term: %s\n", zmq_strerror (errno)); + printf ("error in zmq_ctx_term: %s\n", zmq_strerror (errno)); return -1; } diff --git a/perf/inproc_thr.cpp b/perf/inproc_thr.cpp index 00feda68..e16d5b34 100644 --- a/perf/inproc_thr.cpp +++ b/perf/inproc_thr.cpp @@ -232,9 +232,9 @@ int main (int argc, char *argv []) return -1; } - rc = zmq_term (ctx); + rc = zmq_ctx_term (ctx); if (rc != 0) { - printf ("error in zmq_term: %s\n", zmq_strerror (errno)); + printf ("error in zmq_ctx_term: %s\n", zmq_strerror (errno)); return -1; } diff --git a/perf/local_lat.cpp b/perf/local_lat.cpp index 35c84393..09e4cc29 100644 --- a/perf/local_lat.cpp +++ b/perf/local_lat.cpp @@ -106,9 +106,9 @@ int main (int argc, char *argv []) return -1; } - rc = zmq_term (ctx); + rc = zmq_ctx_term (ctx); if (rc != 0) { - printf ("error in zmq_term: %s\n", zmq_strerror (errno)); + printf ("error in zmq_ctx_term: %s\n", zmq_strerror (errno)); return -1; } diff --git a/perf/local_thr.cpp b/perf/local_thr.cpp index eb093c02..1a03fb71 100644 --- a/perf/local_thr.cpp +++ b/perf/local_thr.cpp @@ -130,9 +130,9 @@ int main (int argc, char *argv []) return -1; } - rc = zmq_term (ctx); + rc = zmq_ctx_term (ctx); if (rc != 0) { - printf ("error in zmq_term: %s\n", zmq_strerror (errno)); + printf ("error in zmq_ctx_term: %s\n", zmq_strerror (errno)); return -1; } diff --git a/perf/remote_lat.cpp b/perf/remote_lat.cpp index 78a9f5f2..f9f59408 100644 --- a/perf/remote_lat.cpp +++ b/perf/remote_lat.cpp @@ -119,9 +119,9 @@ int main (int argc, char *argv []) return -1; } - rc = zmq_term (ctx); + rc = zmq_ctx_term (ctx); if (rc != 0) { - printf ("error in zmq_term: %s\n", zmq_strerror (errno)); + printf ("error in zmq_ctx_term: %s\n", zmq_strerror (errno)); return -1; } diff --git a/perf/remote_thr.cpp b/perf/remote_thr.cpp index 71764a98..3eaecd15 100644 --- a/perf/remote_thr.cpp +++ b/perf/remote_thr.cpp @@ -97,9 +97,9 @@ int main (int argc, char *argv []) return -1; } - rc = zmq_term (ctx); + rc = zmq_ctx_term (ctx); if (rc != 0) { - printf ("error in zmq_term: %s\n", zmq_strerror (errno)); + printf ("error in zmq_ctx_term: %s\n", zmq_strerror (errno)); return -1; }