X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=src%2Fupdate_image.c;h=650dfbbd07fdf0726d3ce737085cdbf214eb9ae5;hp=3d127455334ab20bc8585c9da19e37c8b749a070;hb=22c0e369cb60b73a9ec209c878173001bfb43db8;hpb=83d1242cf793d718c666d6d50faa397ce5234ed2;ds=sidebyside 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