summaryrefslogtreecommitdiff
path: root/util-print.c
diff options
context:
space:
mode:
Diffstat (limited to 'util-print.c')
-rw-r--r--util-print.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/util-print.c b/util-print.c
index e896a2df..c60cc93b 100644
--- a/util-print.c
+++ b/util-print.c
@@ -507,7 +507,7 @@ tok2strbuf(const struct tok *lp, const char *fmt,
if (fmt == NULL)
fmt = "#%d";
- (void)nd_snprintf(buf, bufsize, fmt, v);
+ (void)snprintf(buf, bufsize, fmt, v);
return (const char *)buf;
}
@@ -579,7 +579,7 @@ bittok2str_internal(const struct tok *lp, const char *fmt,
if (bufp == buf)
/* bummer - lets print the "unknown" message as advised in the fmt string if we got one */
- (void)nd_snprintf(buf, sizeof(buf), fmt == NULL ? "#%08x" : fmt, v);
+ (void)snprintf(buf, sizeof(buf), fmt == NULL ? "#%08x" : fmt, v);
return (buf);
}
@@ -621,7 +621,7 @@ tok2strary_internal(const char **lp, int n, const char *fmt,
return lp[v];
if (fmt == NULL)
fmt = "#%d";
- (void)nd_snprintf(buf, sizeof(buf), fmt, v);
+ (void)snprintf(buf, sizeof(buf), fmt, v);
return (buf);
}