aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2012-08-27 17:29:23 +0200
committerSverker Eriksson <[email protected]>2012-08-27 17:29:23 +0200
commit36aae216c38001e57f6f5a56f950abded29b8dd1 (patch)
tree60cdcd39a74b0e74b2dd7d2cfaa978dacbfe3d58
parent66573cb4ea59e0ff6251a598dab8a8aecfbedbd2 (diff)
downloadotp-36aae216c38001e57f6f5a56f950abded29b8dd1.tar.gz
otp-36aae216c38001e57f6f5a56f950abded29b8dd1.tar.bz2
otp-36aae216c38001e57f6f5a56f950abded29b8dd1.zip
erts: Fix dtrace-bug in file rename op
-rw-r--r--erts/emulator/drivers/common/efile_drv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/drivers/common/efile_drv.c b/erts/emulator/drivers/common/efile_drv.c
index 347247ee7b..f24098025e 100644
--- a/erts/emulator/drivers/common/efile_drv.c
+++ b/erts/emulator/drivers/common/efile_drv.c
@@ -2597,7 +2597,7 @@ file_output(ErlDrvData e, char* buf, ErlDrvSizeT count)
#ifdef USE_VM_PROBES
dt_s1 = d->b;
dt_s2 = d->b + namelen;
- dt_utag = buf + namelen + FILENAME_BYTELEN(name) + FILENAME_CHARSIZE;
+ dt_utag = buf + namelen + FILENAME_BYTELEN(new_name) + FILENAME_CHARSIZE;
#endif
d->flags = desc->flags;
d->fd = fd;