diff options
Diffstat (limited to 'src/helper/fileio.c')
-rw-r--r-- | src/helper/fileio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helper/fileio.c b/src/helper/fileio.c index 9ae0134..b97ebf4 100644 --- a/src/helper/fileio.c +++ b/src/helper/fileio.c @@ -63,7 +63,7 @@ static inline int fileio_open_local(struct fileio_internal *fileio) break; default: LOG_ERROR("BUG: access neither read, write nor readwrite"); - return ERROR_INVALID_ARGUMENTS; + return ERROR_COMMAND_SYNTAX_ERROR; } /* win32 always opens in binary mode */ |