aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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