summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgavin <gavin@FreeBSD.org>2014-07-05 19:53:21 +0000
committergavin <gavin@FreeBSD.org>2014-07-05 19:53:21 +0000
commitb19b03f00bd5a521cb8092b8593dcc9a2f9c279d (patch)
treed3fab4bd3a0b627b325af88df83fe2627736fa51
parent5ed852244e84d652687382eeb8506c166c308852 (diff)
downloadFreeBSD-src-b19b03f00bd5a521cb8092b8593dcc9a2f9c279d.zip
FreeBSD-src-b19b03f00bd5a521cb8092b8593dcc9a2f9c279d.tar.gz
Correct format string to fix build of uhsoctl when DEBUG is defined
PR: 185007 Submitted by: saper saper.info MFC after: 3 days
-rw-r--r--usr.sbin/uhsoctl/uhsoctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/uhsoctl/uhsoctl.c b/usr.sbin/uhsoctl/uhsoctl.c
index 46a9d0a..bffefc9 100644
--- a/usr.sbin/uhsoctl/uhsoctl.c
+++ b/usr.sbin/uhsoctl/uhsoctl.c
@@ -601,7 +601,7 @@ at_cmd(struct ctx *ctx, const char *resp, resp_cb cb, resp_arg *ra, const char *
if (resp != NULL) {
l = strlen(resp);
#ifdef DEBUG
- fprintf(stderr, "SYNC_EXP: %s (%d)\n", resp, l);
+ fprintf(stderr, "SYNC_EXP: %s (%zd)\n", resp, l);
#endif
}
OpenPOWER on IntegriCloud