Skip to content

Commit

Permalink
servers: send CPU model in sysinfo response
Browse files Browse the repository at this point in the history
  • Loading branch information
jewelcodes committed Oct 6, 2024
1 parent d0e96f3 commit f651249
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/servers/general.c
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ void serverSysinfo(Thread *t, int sd, const MessageHeader *req, void *res) {
sysinfo->processes = processes;
sysinfo->threads = threads;
strcpy(sysinfo->kernel, KERNEL_VERSION);
strcpy(sysinfo->cpu, platformCPUModel);
send(NULL, sd, sysinfo, sizeof(SysInfoResponse), 0);
}

Expand Down

0 comments on commit f651249

Please sign in to comment.