Navigation Menu

Skip to content

Commit

Permalink
windows: fix wrong format
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Jan 17, 2015
1 parent 4aa08d6 commit a4a57f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/io.c
Expand Up @@ -1332,14 +1332,14 @@ grn_munmap(grn_ctx *ctx, HANDLE *fmo, void *start, size_t length)
} else {
SERR("UnmapViewOfFile");
GRN_LOG(ctx, GRN_LOG_ERROR,
"UnmapViewOfFile(%p,%d) failed <%" GRN_FMT_SIZE ">",
"UnmapViewOfFile(%p,%" GRN_FMT_SIZE ") failed <%" GRN_FMT_SIZE ">",
start, length, mmap_size);
r = -1;
}
if (!CloseHandle(*fmo)) {
SERR("CloseHandle");
GRN_LOG(ctx, GRN_LOG_ERROR,
"CloseHandle(%p,%d) failed <%" GRN_FMT_SIZE ">",
"CloseHandle(%p,%" GRN_FMT_SIZE ") failed <%" GRN_FMT_SIZE ">",
start, length, mmap_size);
}
*fmo = NULL;
Expand Down

0 comments on commit a4a57f5

Please sign in to comment.