From 73f9d0e1bb0bab57d5ffba19791975500658ba41 Mon Sep 17 00:00:00 2001 From: Маша Date: Wed, 2 Sep 2020 20:34:25 +0400 Subject: change ERROR_NEGATIVE_SEEK to ESPIPE looks better if we want to differ INVALID_PARAMETER and incorrect seek I think --- src/StormPort.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/StormPort.h b/src/StormPort.h index c2bcf91..7a1bdb2 100644 --- a/src/StormPort.h +++ b/src/StormPort.h @@ -246,7 +246,7 @@ #define ERROR_NOT_ENOUGH_MEMORY ENOMEM #define ERROR_NOT_SUPPORTED ENOTSUP #define ERROR_INVALID_PARAMETER EINVAL - #define ERROR_NEGATIVE_SEEK EINVAL + #define ERROR_NEGATIVE_SEEK ESPIPE #define ERROR_DISK_FULL ENOSPC #define ERROR_ALREADY_EXISTS EEXIST #define ERROR_INSUFFICIENT_BUFFER ENOBUFS -- cgit v1.2.3