From 0cc042d806400b314eb9ebb648949054c78a25c5 Mon Sep 17 00:00:00 2001 From: gavin Date: Wed, 16 Jul 2014 12:57:50 +0000 Subject: [PATCH] Merge r268298,r268299 from head: Correct format string to fix build of uhsoctl when DEBUG is defined PR: 185007 Submitted by: saper saper.info git-svn-id: svn://svn.freebsd.org/base/stable/9@268761 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f --- usr.sbin/uhsoctl/uhsoctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.sbin/uhsoctl/uhsoctl.c b/usr.sbin/uhsoctl/uhsoctl.c index 421bf819e..8a2e51024 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 } -- 2.45.0