Permalink
Browse files

erts: Fix dtrace-bug in file rename op

  • Loading branch information...
1 parent 66573cb commit 36aae216c38001e57f6f5a56f950abded29b8dd1 @sverker sverker committed Aug 27, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 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;

0 comments on commit 36aae21

Please sign in to comment.