diff options
author | Daniel Lange <DLange@git.local> | 2022-02-04 11:23:02 +0100 |
---|---|---|
committer | Daniel Lange <DLange@git.local> | 2022-02-04 11:23:02 +0100 |
commit | a6822e98434cf7da6fab033898094976d881ee0f (patch) | |
tree | 2b0f2ac3ad8c9e9a8c01bb692d9bdb51ce91e83b /openbsd/OpenBSDProcess.c | |
parent | 30ce3b4c264c51c98f280e88e23792ff7deb2317 (diff) | |
download | debian_htop-a6822e98434cf7da6fab033898094976d881ee0f.tar.gz debian_htop-a6822e98434cf7da6fab033898094976d881ee0f.tar.bz2 debian_htop-a6822e98434cf7da6fab033898094976d881ee0f.zip |
New upstream version 3.1.2upstream/3.1.2
Diffstat (limited to 'openbsd/OpenBSDProcess.c')
-rw-r--r-- | openbsd/OpenBSDProcess.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/openbsd/OpenBSDProcess.c b/openbsd/OpenBSDProcess.c index 52dcb0e..ac3def3 100644 --- a/openbsd/OpenBSDProcess.c +++ b/openbsd/OpenBSDProcess.c @@ -136,7 +136,7 @@ const ProcessFieldData Process_fields[LAST_PROCESSFIELD] = { }, [ST_UID] = { .name = "ST_UID", - .title = " UID ", + .title = "UID", .description = "User ID of the process owner", .flags = 0, }, @@ -163,7 +163,7 @@ const ProcessFieldData Process_fields[LAST_PROCESSFIELD] = { }, [USER] = { .name = "USER", - .title = "USER ", + .title = "USER ", .description = "Username of the process owner (or user ID if name cannot be determined)", .flags = 0, }, @@ -203,7 +203,7 @@ const ProcessFieldData Process_fields[LAST_PROCESSFIELD] = { }; Process* OpenBSDProcess_new(const Settings* settings) { - OpenBSDProcess* this = xCalloc(sizeof(OpenBSDProcess), 1); + OpenBSDProcess* this = xCalloc(1, sizeof(OpenBSDProcess)); Object_setClass(this, Class(OpenBSDProcess)); Process_init(&this->super, settings); return &this->super; |