summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgavin <gavin@FreeBSD.org>2014-07-16 12:57:53 +0000
committergavin <gavin@FreeBSD.org>2014-07-16 12:57:53 +0000
commit023ca0c8f68b8a39653244e83be177b48fcc5989 (patch)
treebec811b64bdeb57a7c9d228f3fedf0880f220561
parent1932275fef2608b8cd63ec8e0a878fbd7e748e13 (diff)
downloadFreeBSD-src-023ca0c8f68b8a39653244e83be177b48fcc5989.zip
FreeBSD-src-023ca0c8f68b8a39653244e83be177b48fcc5989.tar.gz
Merge r268298,r268299 from head:
Correct format string to fix build of uhsoctl when DEBUG is defined PR: 185007 Submitted by: saper saper.info
-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..21b6220 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 (%zu)\n", resp, l);
#endif
}
OpenPOWER on IntegriCloud