chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
switch_root: do not fail, if base_filesystem_create() failed
[elogind.git]
/
src
/
socket-proxy
/
socket-proxyd.c
diff --git
a/src/socket-proxy/socket-proxyd.c
b/src/socket-proxy/socket-proxyd.c
index 81d8457fdd6d4dea507d19ee0dd9c56c3e4cb7df..3041903757648e53eb2c5bcdf5d4cee7b54cea10 100644
(file)
--- a/
src/socket-proxy/socket-proxyd.c
+++ b/
src/socket-proxy/socket-proxyd.c
@@
-26,7
+26,7
@@
#include <stdlib.h>
#include <string.h>
#include <netdb.h>
#include <stdlib.h>
#include <string.h>
#include <netdb.h>
-#include <
sys/
fcntl.h>
+#include <fcntl.h>
#include <sys/socket.h>
#include <sys/un.h>
#include <unistd.h>
#include <sys/socket.h>
#include <sys/un.h>
#include <unistd.h>
@@
-125,7
+125,7
@@
static int connection_create_pipes(Connection *c, int buffer[2], size_t *sz) {
return -errno;
}
return -errno;
}
- fcntl(buffer[0], F_SETPIPE_SZ, BUFFER_SIZE);
+
(void)
fcntl(buffer[0], F_SETPIPE_SZ, BUFFER_SIZE);
r = fcntl(buffer[0], F_GETPIPE_SZ);
if (r < 0) {
r = fcntl(buffer[0], F_GETPIPE_SZ);
if (r < 0) {