summaryrefslogtreecommitdiff
path: root/execute.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-05-10 03:34:31 +0200
committerLennart Poettering <lennart@poettering.net>2010-05-10 03:34:31 +0200
commitbab45044482dc012331c768c08d78a2d006485ad (patch)
tree23c288fd5acf57ae58e7e4b9895ad2fb7f95d3cd /execute.c
parent462b33e96ad1732658b39895eea0b146e98bc3a5 (diff)
make gcc shut up
Diffstat (limited to 'execute.c')
-rw-r--r--execute.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/execute.c b/execute.c
index a7775a4ea9..ef24f71a25 100644
--- a/execute.c
+++ b/execute.c
@@ -392,8 +392,8 @@ static int chown_terminal(int fd, uid_t uid) {
assert(fd >= 0);
/* This might fail. What matters are the results. */
- fchown(fd, uid, -1);
- fchmod(fd, TTY_MODE);
+ (void) fchown(fd, uid, -1);
+ (void) fchmod(fd, TTY_MODE);
if (fstat(fd, &st) < 0)
return -errno;