diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2024-08-09 01:43:49 +0000 |
---|---|---|
committer | Laurent Bercot <ska@appnovation.com> | 2024-08-09 01:43:49 +0000 |
commit | a08ca5f05b4a6bacc5b80b738d6a071593465a97 (patch) | |
tree | 4e009e170fdcb7683445bcc681a70e6cac78e6c2 /src/daemontools-extras | |
parent | 1777259f308db7c48ac3ad24cd410007881e6fc8 (diff) | |
download | s6-a08ca5f05b4a6bacc5b80b738d6a071593465a97.tar.xz |
formatting bugfix in s6-socklog
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/daemontools-extras')
-rw-r--r-- | src/daemontools-extras/s6-socklog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/daemontools-extras/s6-socklog.c b/src/daemontools-extras/s6-socklog.c index a1b2639..ffae406 100644 --- a/src/daemontools-extras/s6-socklog.c +++ b/src/daemontools-extras/s6-socklog.c @@ -194,7 +194,7 @@ int main (int argc, char const *const *argv) char fmt[IP46_FMT + UINT16_FMT + 3] ; size_t m = ip46_fmt(fmt, &ip) ; fmt[m++] = '_' ; - m += uint16_fmt(fmt, port) ; + m += uint16_fmt(fmt + m, port) ; fmt[m++] = ':' ; fmt[m++] = ' ' ; buffer_putnoflush(&b1, fmt, m) ; } |