diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2023-07-20 16:09:04 +0000 |
---|---|---|
committer | Laurent Bercot <ska@appnovation.com> | 2023-07-20 16:09:04 +0000 |
commit | 8c904eff93d7c038855f2c1cee8ea54bdb4dae52 (patch) | |
tree | f26f3058991135a633caf2818b3d38ee3a6aa094 /src/clients | |
parent | 05402aede9d952f9e561335dc9ba1dae0f8c6084 (diff) | |
download | s6-dns-8c904eff93d7c038855f2c1cee8ea54bdb4dae52.tar.xz |
More bigfuxes!
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/clients')
-rw-r--r-- | src/clients/s6-dnsip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/clients/s6-dnsip.c b/src/clients/s6-dnsip.c index 6a5747d..041d450 100644 --- a/src/clients/s6-dnsip.c +++ b/src/clients/s6-dnsip.c @@ -82,7 +82,7 @@ int main (int argc, char const *const *argv) char fmt[IP6_FMT] ; size_t n = ip46full_fmt(fmt, genalloc_s(ip46full, &ips) + i) ; fmt[n++] = '\n' ; - if (buffer_put(buffer_1small, fmt, n) < (ssize_t)n) + if (buffer_put(buffer_1small, fmt, n) < 0) strerr_diefu1sys(111, "write to stdout") ; } if (!buffer_flush(buffer_1small)) |