git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f461a72
)
s3: Fix the format string for smbcontrol pool-usage
author
Volker Lendecke
<vl@samba.org>
Sun, 17 Jan 2010 22:07:39 +0000
(23:07 +0100)
committer
Volker Lendecke
<vl@samba.org>
Sun, 17 Jan 2010 22:10:37 +0000
(23:10 +0100)
With the dot I have seen printf to not print anything
source3/utils/smbcontrol.c
patch
|
blob
|
history
diff --git
a/source3/utils/smbcontrol.c
b/source3/utils/smbcontrol.c
index 7fab6eb4b26aae085db0af9b560fe49ae33ecde0..4ccea26c3daf6c00034e66b854b381095dd1b202 100644
(file)
--- a/
source3/utils/smbcontrol.c
+++ b/
source3/utils/smbcontrol.c
@@
-122,7
+122,7
@@
static void print_string_cb(struct messaging_context *msg,
struct server_id pid,
DATA_BLOB *data)
{
- printf("%
.
*s", (int)data->length, (const char *)data->data);
+ printf("%*s", (int)data->length, (const char *)data->data);
num_replies++;
}