aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLadislav Zezula <zezula@volny.cz>2020-09-02 21:31:23 +0200
committerGitHub <noreply@github.com>2020-09-02 21:31:23 +0200
commit393e632ab3df8c28d4ecc671a0690a7e57bfd7d1 (patch)
tree3dfb1932597f9a3fccfee883eb45220bafaa4516 /src
parent29fcb13cbaa15097c83273d45a8fb7179390770b (diff)
parent73f9d0e1bb0bab57d5ffba19791975500658ba41 (diff)
Merge pull request #187 from Qeenon/patch-1
change ERROR_NEGATIVE_SEEK to ESPIPE
Diffstat (limited to 'src')
-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