diff options
author | Steven Barth <steven@midlink.org> | 2014-02-16 12:16:57 +0100 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2014-02-16 12:16:57 +0100 |
commit | e3dc49a34fdd0dd900271cdfe6bb1c05babe5ee6 (patch) | |
tree | 19d3c26da8f01b97c3b6b9f543cf8d0c793b1e93 /main.c | |
parent | 34192161b45520713ebaa5447553fa546e6ee932 (diff) |
Work around warn_unused_result in recent gcc/libc
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -152,7 +152,7 @@ netifd_start_process(const char **argv, char **env, struct netifd_process *proc) } } if (proc->dir_fd >= 0) - fchdir(proc->dir_fd); + if (fchdir(proc->dir_fd)) {} close(pfds[0]); |