From 61ac5994e9fe3666d1c057dafca8c79406c59077 Mon Sep 17 00:00:00 2001 From: Eric Biggers Date: Tue, 20 Aug 2013 18:27:00 -0500 Subject: [PATCH] wimlib_reference_resource_files(): Fix return value docs --- include/wimlib.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/wimlib.h b/include/wimlib.h index 39538182..132233ff 100644 --- a/include/wimlib.h +++ b/include/wimlib.h @@ -2743,8 +2743,9 @@ wimlib_reference_resource_files(WIMStruct *wim, * * @retval ::WIMLIB_ERR_INVALID_PARAM * @p wim was @c NULL, or @p num_resource_wims was nonzero but @p - * resource_wims was @c NULL, or @p wim did not contain metadata resources, - * or an entry in @p resource_wims was @p NULL. + * resource_wims was @c NULL, or an entry in @p resource_wims was @p NULL. + * @retval ::WIMLIB_ERR_NOMEM + * Failed to allocate memory. */ extern int wimlib_reference_resources(WIMStruct *wim, WIMStruct **resource_wims, -- 2.43.0