diff options
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/replace.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/replace.c b/source3/lib/replace.c index f252b84801..45c302f498 100644 --- a/source3/lib/replace.c +++ b/source3/lib/replace.c @@ -377,8 +377,8 @@ char *rep_inet_ntoa(struct in_addr ip) #endif /* HAVE_STRTOUL */ #ifndef HAVE_SETLINEBUF -void setlinebuf(FILE *stream) + int setlinebuf(FILE *stream) { - setvbuf(stream, (char *)NULL, _IOLBF, 0); + return setvbuf(stream, (char *)NULL, _IOLBF, 0); } #endif /* HAVE_SETLINEBUF */ |