chiark / gitweb /
tree-wide: there is no ENOTSUP on linux
[elogind.git] / src / journal / coredumpctl.c
index 62983a73e4d19bf212a9adb42a24ec852c27d3e4..4026a1c26f14e414f202e23e8ec22b3c5b8683c0 100644 (file)
@@ -649,7 +649,7 @@ static int save_core(sd_journal *j, int fd, char **path, bool *unlink_temp) {
                         }
 #else
                         log_error("Cannot decompress file. Compiled without compression support.");
-                        r = -ENOTSUP;
+                        r = -EOPNOTSUPP;
                         goto error;
 #endif
                 } else {