diff options
author | Peter Rosin <peda@lysator.liu.se> | 2009-12-19 19:43:52 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2009-12-19 19:43:52 +0100 |
commit | 590f7c262df9517f64c6faf35e6b7ed7664a0002 (patch) | |
tree | 932ed4fd7cec429e1bf05922138ee790497da3a8 /lib/replace | |
parent | fcbe8f0c80e3848e87d37476a46c7eb553d592c1 (diff) | |
download | samba-590f7c262df9517f64c6faf35e6b7ed7664a0002.tar.gz samba-590f7c262df9517f64c6faf35e6b7ed7664a0002.tar.bz2 samba-590f7c262df9517f64c6faf35e6b7ed7664a0002.zip |
Output %p as unsigned in snprintf replacement.
Diffstat (limited to 'lib/replace')
-rw-r--r-- | lib/replace/snprintf.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/replace/snprintf.c b/lib/replace/snprintf.c index c54d721ce5..bca774263e 100644 --- a/lib/replace/snprintf.c +++ b/lib/replace/snprintf.c @@ -504,6 +504,7 @@ static int dopr(char *buffer, size_t maxlen, const char *format, va_list args_in break; case 'p': cnk->type = CNK_PTR; + cnk->flags |= DP_F_UNSIGNED; break; case 'n': cnk->type = CNK_NUM; |