summaryrefslogtreecommitdiffstats
path: root/source/utils
diff options
context:
space:
mode:
authorMartin Pool <mbp@samba.org>2002-01-03 04:22:55 +0000
committerMartin Pool <mbp@samba.org>2002-01-03 04:22:55 +0000
commit9b217dce7fe89d1e36a91d7d011c2a9fe185e0d3 (patch)
treef28f2d4033ebbad182e719a97d3395e6dbc48bff /source/utils
parent830a126a442bdde28fc42e23e7260c344b6534b9 (diff)
downloadsamba-9b217dce7fe89d1e36a91d7d011c2a9fe185e0d3.tar.gz
samba-9b217dce7fe89d1e36a91d7d011c2a9fe185e0d3.tar.xz
samba-9b217dce7fe89d1e36a91d7d011c2a9fe185e0d3.zip
smbd now sends a reply to MSG_REQ_POOL_USAGE, though it's pretty
boring so far.
Diffstat (limited to 'source/utils')
-rw-r--r--source/utils/smbcontrol.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/utils/smbcontrol.c b/source/utils/smbcontrol.c
index 4f89ae37b5d..9be34b132db 100644
--- a/source/utils/smbcontrol.c
+++ b/source/utils/smbcontrol.c
@@ -149,7 +149,8 @@ void profilelevel_function(int msg_type, pid_t src, void *buf, size_t len)
**/
static void pool_usage_cb(int msg_type, pid_t src_pid, void *buf, size_t len)
{
- printf("Got POOL_USAGE reply from %u\n", (unsigned int) src_pid);
+ printf("Got POOL_USAGE reply from pid%u:\n%.*s\n",
+ (unsigned int) src_pid, (int) len, (const char *) buf);
}