diff options
-rw-r--r-- | src/libirecovery.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libirecovery.c b/src/libirecovery.c index f26ae3f..1b547d1 100644 --- a/src/libirecovery.c +++ b/src/libirecovery.c @@ -1159,7 +1159,7 @@ irecv_error_t irecv_getenv(irecv_client_t client, const char* variable, char** v *value = NULL; if(variable == NULL) { - return IRECV_E_UNKNOWN_ERROR; + return IRECV_E_INVALID_INPUT; } memset(command, '\0', sizeof(command)); |