aboutsummaryrefslogtreecommitdiff
path: root/src/StormPort.h
diff options
context:
space:
mode:
authorМаша <codemasha@gmail.com>2020-09-02 20:34:25 +0400
committerGitHub <noreply@github.com>2020-09-02 20:34:25 +0400
commit73f9d0e1bb0bab57d5ffba19791975500658ba41 (patch)
tree3dfb1932597f9a3fccfee883eb45220bafaa4516 /src/StormPort.h
parent29fcb13cbaa15097c83273d45a8fb7179390770b (diff)
change ERROR_NEGATIVE_SEEK to ESPIPE
looks better if we want to differ INVALID_PARAMETER and incorrect seek I think
Diffstat (limited to 'src/StormPort.h')
-rw-r--r--src/StormPort.h2
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