aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2014-03-12 17:14:04 +0100
committerSverker Eriksson <[email protected]>2014-03-24 21:09:50 +0100
commit2be50d2eb4690b0f849f86170ad176928443de30 (patch)
tree1821a9587c496750b99dfda72082655a6bf21f18
parentb1a2c324bf7f141cfc04261c01a9e7a38283cc06 (diff)
downloadotp-2be50d2eb4690b0f849f86170ad176928443de30.tar.gz
otp-2be50d2eb4690b0f849f86170ad176928443de30.tar.bz2
otp-2be50d2eb4690b0f849f86170ad176928443de30.zip
erts: Fix compiler warning in win_efile.c
and some improved debug tracing
-rw-r--r--erts/emulator/drivers/win32/win_efile.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/erts/emulator/drivers/win32/win_efile.c b/erts/emulator/drivers/win32/win_efile.c
index 3d3a5bcb84..4176f137c1 100644
--- a/erts/emulator/drivers/win32/win_efile.c
+++ b/erts/emulator/drivers/win32/win_efile.c
@@ -1000,7 +1000,7 @@ efile_openfile(Efile_error* errInfo, char* name, int flags, int* pfd, Sint64* pS
{
Efile_call_state state;
int ret;
- SVERK_TRACE(1, name);
+ SVERK_TRACE1(1, "openfile(%s)", name);
call_state_init(&state, errInfo);
ret = do_openfile(&state, name, flags, pfd, pSize);
call_state_free(&state);
@@ -1132,7 +1132,7 @@ FILE* efile_wfopen(const WCHAR* name, const WCHAR* mode)
Efile_error dummy;
FILE* f;
call_state_init(&state, &dummy);
- ensure_wpath(&state, &name);
+ ensure_wpath(&state, (WCHAR**)&name);
f = _wfopen(name, mode);
call_state_free(&state);
return f;
@@ -1973,7 +1973,7 @@ efile_symlink(Efile_error* errInfo, char* old, char* new)
{
Efile_call_state state;
int ret;
- SVERK_TRACE(1, old);
+ SVERK_TRACE2(1, "symlink(%s <- %s)", old, new);
call_state_init(&state, errInfo);
ret = do_symlink(&state, old, new);
call_state_free(&state);