summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-01-17 23:07:39 +0100
committerVolker Lendecke <vl@samba.org>2010-01-17 23:10:37 +0100
commit971f6a4a5bd348b2e45ad8e9f354c714c8cf9e2c (patch)
treec5c86b5687ab2b5d55527a3b987eb242dd44d6c8
parentf461a72ec3aa990c357b754b5311add4bba48485 (diff)
downloadsamba-971f6a4a5bd348b2e45ad8e9f354c714c8cf9e2c.tar.gz
samba-971f6a4a5bd348b2e45ad8e9f354c714c8cf9e2c.tar.bz2
samba-971f6a4a5bd348b2e45ad8e9f354c714c8cf9e2c.zip
s3: Fix the format string for smbcontrol pool-usage
With the dot I have seen printf to not print anything
-rw-r--r--source3/utils/smbcontrol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/smbcontrol.c b/source3/utils/smbcontrol.c
index 7fab6eb4b2..4ccea26c3d 100644
--- 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++;
}