From 2e60665eda5dfb4900b1d7242c4cb411efc081f1 Mon Sep 17 00:00:00 2001 From: Gavin Atkinson Date: Sat, 5 Jul 2014 19:53:21 +0000 Subject: [PATCH] Correct format string to fix build of uhsoctl when DEBUG is defined PR: 185007 Submitted by: saper saper.info MFC after: 3 days --- 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 46a9d0aacf7a..bffefc96e101 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 }