diff options
author | marko@hundin.mysql.fi <> | 2004-08-10 16:11:34 +0300 |
---|---|---|
committer | marko@hundin.mysql.fi <> | 2004-08-10 16:11:34 +0300 |
commit | 61c509fbd7def7cbc091154f7c65c24dc6842ece (patch) | |
tree | e869bff0e3073207522918013442bb92abdf50cc /innobase | |
parent | cd6292d21952e7087b2271801a5207dc63d20e9a (diff) | |
download | mariadb-git-61c509fbd7def7cbc091154f7c65c24dc6842ece.tar.gz |
os0file.c:
os_file_create_tmpfile(): display errno in case of failure
Diffstat (limited to 'innobase')
-rw-r--r-- | innobase/os/os0file.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/innobase/os/os0file.c b/innobase/os/os0file.c index 63a86d8ab68..56f01568ead 100644 --- a/innobase/os/os0file.c +++ b/innobase/os/os0file.c @@ -429,8 +429,9 @@ os_file_create_tmpfile(void) if (!file) { ut_print_timestamp(stderr); - fputs(" InnoDB: Error: unable to create temporary file\n", - stderr); + fprintf(stderr, + " InnoDB: Error: unable to create temporary file;" + " errno: %d\n", errno); if (fd >= 0) { close(fd); } |