aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/sys.h
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2015-11-30 18:50:31 +0100
committerRickard Green <[email protected]>2015-12-04 14:38:41 +0100
commit59aae51046e79b1c8a3cf2473fd4618e9d617ac6 (patch)
tree6ef164dde63c56f37ccc09fc352cf41cc3bd0cc6 /erts/emulator/beam/sys.h
parent4481c1b152a4442f2e0a648ab2877313dcc97c50 (diff)
downloadotp-59aae51046e79b1c8a3cf2473fd4618e9d617ac6.tar.gz
otp-59aae51046e79b1c8a3cf2473fd4618e9d617ac6.tar.bz2
otp-59aae51046e79b1c8a3cf2473fd4618e9d617ac6.zip
Remove ERTS_PRINT_INVALID from erts_print()
ERTS_PRINT_INVALID prevented file descriptor 0 to be used which could cause an empty crash dump.
Diffstat (limited to 'erts/emulator/beam/sys.h')
-rw-r--r--erts/emulator/beam/sys.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/erts/emulator/beam/sys.h b/erts/emulator/beam/sys.h
index c29d4b3777..f8ab0df082 100644
--- a/erts/emulator/beam/sys.h
+++ b/erts/emulator/beam/sys.h
@@ -577,7 +577,6 @@ Uint erts_sys_misc_mem_sz(void);
/* Io constants to erts_print and erts_putc */
#define ERTS_PRINT_STDERR (2)
#define ERTS_PRINT_STDOUT (1)
-#define ERTS_PRINT_INVALID (0) /* Don't want to use 0 since CBUF was 0 */
#define ERTS_PRINT_FILE (-1)
#define ERTS_PRINT_SBUF (-2)
#define ERTS_PRINT_SNBUF (-3)