diff options
author | Lukas Larsson <[email protected]> | 2016-03-24 15:25:20 +0100 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2016-03-24 15:25:20 +0100 |
commit | 65a8470afa7b2210fba348910f4cac066855791e (patch) | |
tree | eb087cc40ffaa500ec8fb84518a0ff166af2a3e0 | |
parent | 2569ea2c76c7340e876abf384d7e027dacdd3fc7 (diff) | |
download | otp-65a8470afa7b2210fba348910f4cac066855791e.tar.gz otp-65a8470afa7b2210fba348910f4cac066855791e.tar.bz2 otp-65a8470afa7b2210fba348910f4cac066855791e.zip |
erts: Fix etp pid print on big endian
-rw-r--r-- | erts/etc/unix/etp-commands.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/etc/unix/etp-commands.in b/erts/etc/unix/etp-commands.in index 7b554e71f2..cfacc8b79b 100644 --- a/erts/etc/unix/etp-commands.in +++ b/erts/etc/unix/etp-commands.in @@ -776,7 +776,7 @@ define etp-pid-1 if ($etp_pid_1 & 0xF) == 0x3 if (etp_arch_bits == 64) if (etp_big_endian) - set $etp_pid_data = (unsigned) ((((Uint64) $etp_pid_1) >> 36) & 0x0fffffff) + set $etp_pid_data = (unsigned) ((((Uint64) $etp_pid_1) >> 35) & 0x0fffffff) else set $etp_pid_data = (unsigned) ((((Uint64) $etp_pid_1) >> 4) & 0x0fffffff) end |