diff options
Diffstat (limited to 'Documentation/accounting/getdelays.c')
-rw-r--r-- | Documentation/accounting/getdelays.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Documentation/accounting/getdelays.c b/Documentation/accounting/getdelays.c index f6318f6d7baf..6f706aca2049 100644 --- a/Documentation/accounting/getdelays.c +++ b/Documentation/accounting/getdelays.c | |||
@@ -98,10 +98,9 @@ static int create_nl_socket(int protocol) | |||
98 | if (rcvbufsz) | 98 | if (rcvbufsz) |
99 | if (setsockopt(fd, SOL_SOCKET, SO_RCVBUF, | 99 | if (setsockopt(fd, SOL_SOCKET, SO_RCVBUF, |
100 | &rcvbufsz, sizeof(rcvbufsz)) < 0) { | 100 | &rcvbufsz, sizeof(rcvbufsz)) < 0) { |
101 | fprintf(stderr, "Unable to set socket rcv buf size " | 101 | fprintf(stderr, "Unable to set socket rcv buf size to %d\n", |
102 | "to %d\n", | ||
103 | rcvbufsz); | 102 | rcvbufsz); |
104 | return -1; | 103 | goto error; |
105 | } | 104 | } |
106 | 105 | ||
107 | memset(&local, 0, sizeof(local)); | 106 | memset(&local, 0, sizeof(local)); |