From 22c0e369cb60b73a9ec209c878173001bfb43db8 Mon Sep 17 00:00:00 2001 From: Eric Biggers Date: Sun, 12 May 2013 00:27:16 -0500 Subject: [PATCH 1/1] check_add_command(): Use WIMLIB_ERR_UNSUPPORTED when appropriate --- src/update_image.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/update_image.c b/src/update_image.c index 3d127455..650dfbbd 100644 --- a/src/update_image.c +++ b/src/update_image.c @@ -488,11 +488,11 @@ check_add_command(struct wimlib_update_command *cmd, } if (add_flags & WIMLIB_ADD_FLAG_UNIX_DATA) { ERROR("Capturing UNIX-specific data is not supported on Windows"); - return WIMLIB_ERR_INVALID_PARAM; + return WIMLIB_ERR_UNSUPPORTED; } if (add_flags & WIMLIB_ADD_FLAG_DEREFERENCE) { ERROR("Dereferencing symbolic links is not supported on Windows"); - return WIMLIB_ERR_INVALID_PARAM; + return WIMLIB_ERR_UNSUPPORTED; } #endif -- 2.43.0