From 4371bc81c9b106a30897b6ddce3552456268fedf Mon Sep 17 00:00:00 2001 From: Martin Baulig Date: Mon, 2 Nov 1998 21:09:11 +0000 Subject: [PATCH] `sysdeps.flags' should be a mask telling which fields are valid, so we set it to `(sysdeps.features | (1 << GLIBTOP_SYSDEPS_FEATURES))'. --- src/daemon/slave.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/daemon/slave.c b/src/daemon/slave.c index 88872544..2ed009b5 100644 --- a/src/daemon/slave.c +++ b/src/daemon/slave.c @@ -124,6 +124,8 @@ handle_slave_command (glibtop_command *cmnd, glibtop_response *resp, memcpy (&resp->u.sysdeps, &server->sysdeps, sizeof (glibtop_sysdeps)); resp->u.sysdeps.features = glibtop_server_features; + resp->u.sysdeps.flags = glibtop_server_features | + (1 << GLIBTOP_SYSDEPS_FEATURES); resp->offset = _offset_union (sysdeps); break; #if GLIBTOP_SUID_CPU