aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2016-03-15 18:00:22 +0100
committerBjörn-Egil Dahlberg <[email protected]>2016-03-15 18:00:22 +0100
commit9516f34338d1e701949ec28ab8a5d0ace8b5e65d (patch)
tree9fe5520de40558823e5b1d008e3785096a1a3335
parent5eb0a3f256d6f816ebd56ba5d991eecaf580dd88 (diff)
downloadotp-9516f34338d1e701949ec28ab8a5d0ace8b5e65d.tar.gz
otp-9516f34338d1e701949ec28ab8a5d0ace8b5e65d.tar.bz2
otp-9516f34338d1e701949ec28ab8a5d0ace8b5e65d.zip
Fix ttsl_drv logging without TERMCAP
-rw-r--r--erts/emulator/drivers/unix/ttsl_drv.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/erts/emulator/drivers/unix/ttsl_drv.c b/erts/emulator/drivers/unix/ttsl_drv.c
index abfc52d3bc..4f15ce0980 100644
--- a/erts/emulator/drivers/unix/ttsl_drv.c
+++ b/erts/emulator/drivers/unix/ttsl_drv.c
@@ -264,14 +264,12 @@ static int ttysl_init(void)
DEBUGLOG(("ttysl_init: Debuglog = %s(0x%ld)\n",dl,(long) debuglog));
}
#endif
- DEBUGLOG(("ttysl_init: ttysl_port = %d\n", ttysl_port));
return 0;
}
static ErlDrvData ttysl_start(ErlDrvPort port, char* buf)
{
#ifndef HAVE_TERMCAP
- DEBUGLOG(("ttysl_start: failure - no TERMCAP configured!\n"));
return ERL_DRV_ERROR_GENERAL;
#else
char *s, *t, *l;