From: Eric Biggers Date: Sun, 12 May 2013 05:27:16 +0000 (-0500) Subject: check_add_command(): Use WIMLIB_ERR_UNSUPPORTED when appropriate X-Git-Tag: v1.4.0~100 X-Git-Url: https://wimlib.net/git/?p=wimlib;a=commitdiff_plain;h=22c0e369cb60b73a9ec209c878173001bfb43db8 check_add_command(): Use WIMLIB_ERR_UNSUPPORTED when appropriate --- 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