s3: Fix the format string for smbcontrol pool-usage
authorVolker Lendecke <vl@samba.org>
Sun, 17 Jan 2010 22:07:39 +0000 (23:07 +0100)
committerVolker 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

index 7fab6eb4b26aae085db0af9b560fe49ae33ecde0..4ccea26c3daf6c00034e66b854b381095dd1b202 100644 (file)
@@ -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++;
 }