summaryrefslogtreecommitdiff
path: root/Userland
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-09-06 19:04:47 +0200
committerAndreas Kling <kling@serenityos.org>2020-09-06 19:04:47 +0200
commit6d8c4af9c2c1ec86e526c7b73f23f0c5477ee338 (patch)
treefc2dd5e27567cb3d7b386c52e2c591136d4006f2 /Userland
parent5a934c37cf5299ed6e28d6c7c0e14c8991a4a2a7 (diff)
downloadserenity-6d8c4af9c2c1ec86e526c7b73f23f0c5477ee338.zip
LibCore+top: Use pid_t for pgid/pgrp/sid numbers
Diffstat (limited to 'Userland')
-rw-r--r--Userland/top.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Userland/top.cpp b/Userland/top.cpp
index 46c82d0479..41dffcd449 100644
--- a/Userland/top.cpp
+++ b/Userland/top.cpp
@@ -42,9 +42,9 @@
struct ThreadData {
int tid;
pid_t pid;
- unsigned pgid;
- unsigned pgp;
- unsigned sid;
+ pid_t pgid;
+ pid_t pgp;
+ pid_t sid;
uid_t uid;
gid_t gid;
pid_t ppid;