X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=src%2Fverify.c;h=10db163550dfe8cea3381ec7936a2d9a768ff376;hp=3702ee7e995fa15af359f0a457c6dde174c5a7c3;hb=4f9ccdbed3ee79171d0b861c4ba93b54ce8feaac;hpb=fced769402ff6ef0bf75fe9e4dcb2880891469e0 diff --git a/src/verify.c b/src/verify.c index 3702ee7e..10db1635 100644 --- a/src/verify.c +++ b/src/verify.c @@ -39,6 +39,9 @@ * - Check to make sure the security ID is valid * - Check to make sure there is at most one unnamed stream * - Check to make sure there is at most one DOS name. + * + * Return values: + * WIMLIB_ERR_SUCCESS (0) */ int verify_inode(struct wim_inode *inode, const struct wim_security_data *sd) @@ -86,7 +89,7 @@ verify_inode(struct wim_inode *inode, const struct wim_security_data *sd) "both `%"TS"' and `%"TS"'", dentry_full_path(dentry_with_dos_name), dentry_full_path(dentry)); - return WIMLIB_ERR_INVALID_DENTRY; + return WIMLIB_ERR_INVALID_METADATA_RESOURCE; #else dentry->dos_name_invalid = 1; #endif