Skip to content

Commit 2bf973b

Browse files
committed
CDRIVER-875 fix writev_full error format
1 parent fe1fb10 commit 2bf973b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mongoc/mongoc-stream.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ _mongoc_stream_writev_full (mongoc_stream_t *stream,
331331

332332
if (r != total_bytes) {
333333
bson_set_error (error, MONGOC_ERROR_STREAM, MONGOC_ERROR_STREAM_SOCKET,
334-
"Failure to send all requested bytes (only sent: %ld/%ld in %dms) during socket delivery",
334+
"Failure to send all requested bytes (only sent: %" PRId64 "/%" PRId64 " in %dms) during socket delivery",
335335
(int64_t)r, (int64_t)total_bytes, timeout_msec);
336336

337337
RETURN(false);

0 commit comments

Comments
 (0)