diff options
author | Маша <codemasha@gmail.com> | 2020-09-02 20:34:25 +0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-02 20:34:25 +0400 |
commit | 73f9d0e1bb0bab57d5ffba19791975500658ba41 (patch) | |
tree | 3dfb1932597f9a3fccfee883eb45220bafaa4516 | |
parent | 29fcb13cbaa15097c83273d45a8fb7179390770b (diff) |
change ERROR_NEGATIVE_SEEK to ESPIPE
looks better if we want to differ INVALID_PARAMETER and incorrect seek I think
-rw-r--r-- | src/StormPort.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 |