mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-12 12:14:36 +03:00
warning fixes
This commit is contained in:
@ -17,6 +17,7 @@ int HostnameMeter_attributes[] = {
|
||||
};
|
||||
|
||||
static void HostnameMeter_setValues(Meter* this, char* buffer, int size) {
|
||||
(void) this;
|
||||
gethostname(buffer, size-1);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user