aboutsummaryrefslogtreecommitdiffstats
path: root/common/iobuf.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/iobuf.c')
-rw-r--r--common/iobuf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/iobuf.c b/common/iobuf.c
index f9c788a7b..a5b8d5955 100644
--- a/common/iobuf.c
+++ b/common/iobuf.c
@@ -2420,7 +2420,7 @@ iobuf_get_filelength (iobuf_t a, int *overflow)
return size;
}
log_error ("GetFileSize for handle %p failed: %s\n",
- fp, w32_strerror (0));
+ fp, w32_strerror (-1));
#else /*!HAVE_W32_SYSTEM*/
{
struct stat st;