Mercurial > hg > freeDiameter
changeset 1022:9beef9a09faa
Fix spin/core-dump inducing format string error.
author | Thomas Klausner <tk@giga.or.at> |
---|---|
date | Thu, 11 Apr 2013 18:46:00 +0200 |
parents | 8110a781116a |
children | 2a510c541472 |
files | libfdproto/ostr.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libfdproto/ostr.c Mon Apr 01 16:17:13 2013 +0800 +++ b/libfdproto/ostr.c Thu Apr 11 18:46:00 2013 +0200 @@ -169,7 +169,7 @@ goto disp; } /* otherwise, we just display the hex code */ - TRACE_DEBUG(INFO, "Invalid character (0xhhX) at offset %d in DiameterIdentity '%.*s'", os[i], i+1, ossz, os); + TRACE_DEBUG(INFO, "Invalid character (0x%hhX) at offset %d in DiameterIdentity '%.*s'", os[i], i+1, ossz, os); return 0; disp: TRACE_DEBUG(INFO, "Invalid character '%.*s' at offset %d in DiameterIdentity '%.*s'", nb, os + i, i+1, ossz, os);