diff options
Diffstat (limited to 'extras/libmemif/src/socket.c')
-rw-r--r-- | extras/libmemif/src/socket.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/libmemif/src/socket.c b/extras/libmemif/src/socket.c index a9db7705fe9..eaf9d2f7ca2 100644 --- a/extras/libmemif/src/socket.c +++ b/extras/libmemif/src/socket.c @@ -274,7 +274,7 @@ memif_msg_enq_disconnect (memif_control_channel_t *cc, uint8_t *err_string, uint16_t l = sizeof (d->string); if (l > 96) { - DBG ("Disconnect string too long. Sending the first %d characters.", + DBG ("Disconnect string too long. Sending the first %ld characters.", sizeof (d->string) - 1); } strlcpy ((char *) d->string, (char *) err_string, sizeof (d->string)); |