mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-12 05:02:31 +00:00
Fixed some compile issues.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user