diff options
author | Sverker Eriksson <[email protected]> | 2012-08-28 15:38:42 +0200 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2012-08-28 15:39:27 +0200 |
commit | 8fcbcbb97e4cff45f90cf1a10a3e9dca99f76f47 (patch) | |
tree | 3b15d15eddc2418c34083f52afd0e7addc81a00f /erts/emulator | |
parent | ff76a60146dfa246efbfbed7f82de12df83bc862 (diff) | |
parent | 36aae216c38001e57f6f5a56f950abded29b8dd1 (diff) | |
download | otp-8fcbcbb97e4cff45f90cf1a10a3e9dca99f76f47.tar.gz otp-8fcbcbb97e4cff45f90cf1a10a3e9dca99f76f47.tar.bz2 otp-8fcbcbb97e4cff45f90cf1a10a3e9dca99f76f47.zip |
Merge branch 'sverk/dtrace-file-rename-bug' into maint
* sverk/dtrace-file-rename-bug:
erts: Fix dtrace-bug in file rename op
OTP-10234
Diffstat (limited to 'erts/emulator')
-rw-r--r-- | erts/emulator/drivers/common/efile_drv.c | 2 |
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; |