]> git.ipfire.org Git - people/ms/systemd.git/blobdiff - execute.c
make gcc shut up
[people/ms/systemd.git] / execute.c
index a7775a4ea9f552cdc1defeecf3ba941775373372..ef24f71a253d0f369c9644689bdcb2c2af73c1b8 100644 (file)
--- 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;