changeset: 25:e6bad539cf32
tag: tip
user: Dimitrios Papastamos <stateless [at] archlinux.us>
date: Fri Dec 04 00:59:56 2009 +0000
files: skvm.c
description:
Cleanup.
diff -r 32d7d65779a8 -r e6bad539cf32 skvm.c
--- a/skvm.c Fri Dec 04 00:53:02 2009 +0000
+++ b/skvm.c Fri Dec 04 00:59:56 2009 +0000
@@ -789,7 +789,8 @@
goto out;
snprintf(buf, sizeof(buf), "%jd\n", (intmax_t)getpid());
- write(pid_fd, buf, strlen(buf));
+ if (write(pid_fd, buf, strlen(buf) != strlen(buf)))
+ goto out;
return 0;
out:
Received on Fri Dec 04 2009 - 01:00:00 UTC
This archive was generated by hypermail 2.2.0 : Fri Dec 04 2009 - 01:12:05 UTC