diff options
author | Maya Rashish <coypu@sdf.org> | 2016-03-23 18:04:07 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2016-03-23 21:57:24 +0100 |
commit | 7bb4c62c97e9304a42759e89465c86624be3dd6d (patch) | |
tree | 48296a63e709f5ccf263b450cbaf313567c0ce99 | |
parent | 92723ac2ee88f6a1f57712bb472c700f48121acc (diff) | |
download | gnutls-7bb4c62c97e9304a42759e89465c86624be3dd6d.tar.gz |
Avoid using strerror in dtls stress test
Using it results in build failure on NetBSD:
undefined reference to `rpl_strerror'
-rw-r--r-- | tests/dtls/dtls-stress.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/dtls/dtls-stress.c b/tests/dtls/dtls-stress.c index 0a47e46789..93f904e290 100644 --- a/tests/dtls/dtls-stress.c +++ b/tests/dtls/dtls-stress.c @@ -346,8 +346,7 @@ static void _process_error_or_timeout(int loc, int err, time_t tdiff) static void rperror(const char *name) { - fprintf(stdout, "%i %s| %s: %s\n", run_id, role_name, name, - strerror(errno)); + fprintf(stdout, "%i %s| %s\n", run_id, role_name, name); } // }}} |