commit | 8ebfe084ab198c2d672c0962debfd616b9dd1e99 | [log] [tgz] |
---|---|---|
author | Peter Vaskovic <petervas@users.noreply.github.com> | Sat May 24 15:19:35 2014 +0200 |
committer | Paul Bakker <p.j.bakker@polarssl.org> | Wed May 28 11:12:51 2014 +0200 |
tree | 4c0ea038ec26d64fe5b92453b76c76903a451ce8 | |
parent | c2bbac968b967ce05ac6480f3e578cc8f6d64378 [diff] [blame] |
Fix minor format string inconsistency.
diff --git a/library/debug.c b/library/debug.c index f2dd776..b747ddc 100644 --- a/library/debug.c +++ b/library/debug.c
@@ -131,7 +131,7 @@ if( debug_log_mode == POLARSSL_DEBUG_LOG_FULL ) idx = snprintf( str, maxlen, "%s(%04d): ", file, line ); - snprintf( str + idx, maxlen - idx, "dumping '%s' (%d bytes)\n", + snprintf( str + idx, maxlen - idx, "dumping '%s' (%u bytes)\n", text, (unsigned int) len ); str[maxlen] = '\0';