diff options
Diffstat (limited to 'src/libcoopgamma.c')
-rw-r--r-- | src/libcoopgamma.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcoopgamma.c b/src/libcoopgamma.c index 3f21247..9cf6b2a 100644 --- a/src/libcoopgamma.c +++ b/src/libcoopgamma.c @@ -1126,7 +1126,7 @@ static char* libcoopgamma_query(const char* restrict method, const char* restric goto fail; if (status) { - errno = EPIPE; + errno = INVAL; if ((n == sizeof(int)) && (*(int*)msg != 0)) errno = *(int*)msg; } |