summaryrefslogtreecommitdiff
path: root/pjlib/src/pj/errno.c
diff options
context:
space:
mode:
Diffstat (limited to 'pjlib/src/pj/errno.c')
-rw-r--r--pjlib/src/pj/errno.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/pjlib/src/pj/errno.c b/pjlib/src/pj/errno.c
index 9536288e..9843105c 100644
--- a/pjlib/src/pj/errno.c
+++ b/pjlib/src/pj/errno.c
@@ -19,7 +19,6 @@
#include <pj/errno.h>
#include <pj/string.h>
#include <pj/assert.h>
-#include <pj/compat/sprintf.h>
/* Prototype for platform specific error message, which will be defined
* in separate file.
@@ -141,7 +140,7 @@ PJ_DEF(pj_str_t) pj_strerror( pj_status_t statcode,
pj_assert(buf && bufsize);
if (statcode < PJ_ERRNO_START + PJ_ERRNO_SPACE_SIZE) {
- len = pj_snprintf( buf, bufsize, "Unknown error %d", statcode);
+ len = pj_ansi_snprintf( buf, bufsize, "Unknown error %d", statcode);
} else if (statcode < PJ_ERRNO_START_STATUS + PJ_ERRNO_SPACE_SIZE) {
len = pjlib_error(statcode, buf, bufsize);