Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Jul 2014 19:53:22 +0000 (UTC)
From:      Gavin Atkinson <gavin@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r268298 - head/usr.sbin/uhsoctl
Message-ID:  <201407051953.s65JrM6V038430@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gavin
Date: Sat Jul  5 19:53:21 2014
New Revision: 268298
URL: http://svnweb.freebsd.org/changeset/base/268298

Log:
  Correct format string to fix build of uhsoctl when DEBUG is defined
  
  PR:		185007
  Submitted by:	saper saper.info
  MFC after:	3 days

Modified:
  head/usr.sbin/uhsoctl/uhsoctl.c

Modified: head/usr.sbin/uhsoctl/uhsoctl.c
==============================================================================
--- head/usr.sbin/uhsoctl/uhsoctl.c	Sat Jul  5 19:49:31 2014	(r268297)
+++ head/usr.sbin/uhsoctl/uhsoctl.c	Sat Jul  5 19:53:21 2014	(r268298)
@@ -601,7 +601,7 @@ at_cmd(struct ctx *ctx, const char *resp
 	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
 	}
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407051953.s65JrM6V038430>