X-Git-Url: https://wimlib.net/git/?a=blobdiff_plain;f=src%2Fwin32_capture.c;h=ace087da33abed497ce67d6942e9e2b73a020440;hb=49f5b2876f3ef0040300215a3c2a2d9e80d3a40b;hp=335e4f72500f6b18563a2523d5f369fc0b466e1a;hpb=3eba9411dba38757a990330ea3889f3be3eb20d9;p=wimlib diff --git a/src/win32_capture.c b/src/win32_capture.c index 335e4f72..ace087da 100644 --- a/src/win32_capture.c +++ b/src/win32_capture.c @@ -280,7 +280,6 @@ winnt_get_security_descriptor(HANDLE h, struct wim_inode *inode, ULONG bufsize; ULONG len_needed; NTSTATUS status; - int ret; requestedInformation = DACL_SECURITY_INFORMATION | SACL_SECURITY_INFORMATION | @@ -1057,7 +1056,7 @@ winnt_build_dentry_tree_recursive(struct wim_dentry **root_ret, } else { set_errno_from_nt_status(status); WARNING_WITH_ERRNO("\"%ls\": Can't get volume attributes " - "(status=0x%"PRIx32")", + "(status=0x%08"PRIx32")", printable_path(full_path), (u32)status); vol_flags = 0;