From 971f6a4a5bd348b2e45ad8e9f354c714c8cf9e2c Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 17 Jan 2010 23:07:39 +0100 Subject: s3: Fix the format string for smbcontrol pool-usage With the dot I have seen printf to not print anything --- source3/utils/smbcontrol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++; } -- cgit