summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2007-02-07 03:21:56 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:44:46 -0500
commit80445f7596af353285a51d01e50d36037a6a6107 (patch)
tree4a0f292de0315b6af059dce6cd347b6a4549617c
parentf0fcc332f5b9de7334780a2e522efaa7494ee343 (diff)
downloadsamba-80445f7596af353285a51d01e50d36037a6a6107.tar.gz
samba-80445f7596af353285a51d01e50d36037a6a6107.tar.bz2
samba-80445f7596af353285a51d01e50d36037a6a6107.zip
r21213: the build farm seems to show that FreeBSD 6.2 has two different error
codes for "Invalid argument". This change should help track that down (This used to be commit 608aac7804754fed1c68b847676d7a71a586e4bb)
-rw-r--r--source4/torture/local/iconv.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/torture/local/iconv.c b/source4/torture/local/iconv.c
index 87056d1b95..f21bacf4bb 100644
--- a/source4/torture/local/iconv.c
+++ b/source4/torture/local/iconv.c
@@ -184,7 +184,9 @@ static bool test_buffer(struct torture_context *test,
show_buf(" rem1:", inbuf+(size-size_in1), size_in1);
show_buf(" rem2:", inbuf+(size-size_in2), size_in2);
torture_fail(test, talloc_asprintf(test,
- "e1=%s e2=%s", strerror(errno1), strerror(errno2)));
+ "e1=%d/%s e2=%d/%s",
+ errno1, strerror(errno1),
+ errno2, strerror(errno2)));
}
torture_assert_int_equal(test, outsize1, outsize2, "outsize mismatch");