From 30c09b4613b84525445b86fb221b4e77dd8094b0 Mon Sep 17 00:00:00 2001 From: John Hood Date: Sat, 14 Jun 2014 20:25:35 -0400 Subject: [PATCH] Comply with new C++11 token pasting rules --- src/util/pty_compat.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/pty_compat.cc b/src/util/pty_compat.cc index 98fa22a..25c0abf 100644 --- a/src/util/pty_compat.cc +++ b/src/util/pty_compat.cc @@ -62,7 +62,7 @@ pid_t my_forkpty( int *amaster, char *name, master = open( PTY_DEVICE, O_RDWR | O_NOCTTY ); if ( master < 0 ) { - perror( "open("PTY_DEVICE")" ); + perror( "open(" PTY_DEVICE ")" ); return -1; }