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 efbf21cbc..b20761ba1 100644
--- a/common/iobuf.c
+++ b/common/iobuf.c
@@ -2335,7 +2335,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;