diff options
Diffstat (limited to 'perf/remote_lat.cpp')
-rw-r--r-- | perf/remote_lat.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perf/remote_lat.cpp b/perf/remote_lat.cpp index 0f05d2a..6aaf1e9 100644 --- a/perf/remote_lat.cpp +++ b/perf/remote_lat.cpp @@ -60,7 +60,7 @@ int main (int argc, char *argv []) } rc = xs_connect (s, connect_to); - if (rc != 0) { + if (rc == -1) { printf ("error in xs_connect: %s\n", xs_strerror (errno)); return -1; } |