Fixed some compile issues.

This commit is contained in:
Jari Sundell
2011-11-22 16:46:59 +09:00
parent 9507bd82f4
commit e11be5cdbe
6 changed files with 39 additions and 22 deletions
+1 -1
View File
@@ -99,7 +99,7 @@ Lockfile::try_lock() {
if (pos == 0) {
::snprintf(buf + std::strlen(buf), 255, ":+%i\n", ::getpid());
::write(fd, buf, std::strlen(buf));
int __UNUSED result = ::write(fd, buf, std::strlen(buf));
}
::close(fd);