summaryrefslogtreecommitdiffstats
path: root/sandbox
diff options
context:
space:
mode:
authormarkus@chromium.org <markus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-30 22:37:27 +0000
committermarkus@chromium.org <markus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-30 22:37:27 +0000
commite2dd8727406f9bf6c8c79b66f0199c8386958f4c (patch)
tree1ffb2ac0d241c57fb9213fb4414a06a585db40b6 /sandbox
parent74830f079e4a4417c3a8c87cfd993b1cfaefadf8 (diff)
downloadchromium_src-e2dd8727406f9bf6c8c79b66f0199c8386958f4c.zip
chromium_src-e2dd8727406f9bf6c8c79b66f0199c8386958f4c.tar.gz
chromium_src-e2dd8727406f9bf6c8c79b66f0199c8386958f4c.tar.bz2
Fixed a bogus compiler warning.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119752 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sandbox')
-rw-r--r--sandbox/linux/suid/init_process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sandbox/linux/suid/init_process.c b/sandbox/linux/suid/init_process.c
index 9ce632d..527a42d 100644
--- a/sandbox/linux/suid/init_process.c
+++ b/sandbox/linux/suid/init_process.c
@@ -135,7 +135,7 @@ void SystemInitProcess(int init_fd, int child_pid, int proc_fd, int null_fd) {
sigprocmask(SIG_BLOCK, &mask, NULL);
// Notify other processes that we are done initializing
- write(init_fd, " ", 1);
+ if (write(init_fd, " ", 1)) { }
close(init_fd);
// Handle dying processes that have been re-parented to the "init" process