aboutsummaryrefslogtreecommitdiffstats
path: root/TraceScreen.c
diff options
context:
space:
mode:
authorDaniel Lange <DLange@git.local>2016-07-25 18:25:29 +0200
committerDaniel Lange <DLange@git.local>2016-07-25 18:25:29 +0200
commitaed86a83b9120528c2a2a5c137d443917682d4b4 (patch)
tree979855616d56f2864dedc7b88798e9831614e9ee /TraceScreen.c
parent6ca259100661aa0be46c8645773d32a8a6a5f312 (diff)
parent31b71b67011fa52f091df6fe536a11d6d0bfb256 (diff)
downloaddebian_htop-aed86a83b9120528c2a2a5c137d443917682d4b4.tar.gz
debian_htop-aed86a83b9120528c2a2a5c137d443917682d4b4.tar.bz2
debian_htop-aed86a83b9120528c2a2a5c137d443917682d4b4.zip
Merge tag 'upstream/2.0.2'
Upstream version 2.0.2
Diffstat (limited to 'TraceScreen.c')
-rw-r--r--TraceScreen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/TraceScreen.c b/TraceScreen.c
index 5ae0600..2d6eb33 100644
--- a/TraceScreen.c
+++ b/TraceScreen.c
@@ -95,7 +95,7 @@ bool TraceScreen_forkTracer(TraceScreen* this) {
this->child = fork();
if (this->child == -1) return false;
if (this->child == 0) {
- seteuid(getuid());
+ (void) seteuid(getuid());
dup2(this->fdpair[1], STDERR_FILENO);
int ok = fcntl(this->fdpair[1], F_SETFL, O_NONBLOCK);
if (ok != -1) {

© 2014-2024 Faster IT GmbH | imprint | privacy policy