X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=tests%2Fwin32-tree-cmp.c;h=53f207c7722c5809aced79d6676b7f79e5f4f672;hp=928722554ab190395ff26945d286e485a301ffea;hb=cc7b6ee47d4037ae8fa11b4c2d5154091d543704;hpb=a0bee8fd4aed91f2ec4da35077dad47582a12a72 diff --git a/tests/win32-tree-cmp.c b/tests/win32-tree-cmp.c index 92872255..53f207c7 100644 --- a/tests/win32-tree-cmp.c +++ b/tests/win32-tree-cmp.c @@ -316,8 +316,9 @@ cmp_streams(wchar_t *path_1, size_t path_1_len, streams_2 = get_stream_array(path_2, &nstreams_2); if (nstreams_1 != nstreams_2) { - error(L"%ls and %ls do not have the same number of streams", - path_1, path_2); + error(L"%ls and %ls do not have the same number of streams " + "(%lu vs %lu)", + path_1, path_2, nstreams_1, nstreams_2); } for (i = 0; i < nstreams_1; i++) @@ -481,7 +482,6 @@ static wchar_t * get_security_descriptor_string(PSECURITY_DESCRIPTOR desc) { wchar_t *str; - ULONG len; ConvertSecurityDescriptorToStringSecurityDescriptor(desc, SDDL_REVISION_1, OWNER_SECURITY_INFORMATION |