summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/torture/raw/streams.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/raw/streams.c b/source4/torture/raw/streams.c
index 4a77dbfc76..2e80c438b0 100644
--- a/source4/torture/raw/streams.c
+++ b/source4/torture/raw/streams.c
@@ -76,8 +76,8 @@ static BOOL check_stream(struct smbcli_state *cli, TALLOC_CTX *mem_ctx,
ret = smbcli_read(cli->tree, fnum, buf, 0, strlen(value)+11);
if (ret != strlen(value)) {
- printf("Failed to read %d bytes from stream '%s' - got %d\n",
- strlen(value), full_name, (int)ret);
+ printf("Failed to read %lu bytes from stream '%s' - got %d\n",
+ (long)strlen(value), full_name, (int)ret);
return False;
}