]> wimlib.net Git - wimlib/blobdiff - src/win32_capture.c
Update NEWS
[wimlib] / src / win32_capture.c
index 335e4f72500f6b18563a2523d5f369fc0b466e1a..ace087da33abed497ce67d6942e9e2b73a020440 100644 (file)
@@ -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;