`sysdeps.flags' should be a mask telling which fields are valid,
so we set it to `(sysdeps.features | (1 << GLIBTOP_SYSDEPS_FEATURES))'.
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user