Fix fatal() macro

This commit is contained in:
asvitkine 2011-03-11 16:41:18 +00:00
parent 39a3b75024
commit 9baf8b4156

View File

@ -70,7 +70,7 @@ RCSID("$OpenBSD: sshpty.c,v 1.4 2001/12/19 07:18:56 deraadt Exp $");
#else /* stubs for BasiliskII */
#define log printf
#define error printf
#define fatal(x) {printf("Fatal error: %s", x); return 0}
#define fatal(x) do { printf("Fatal error: %s", x); return 0; } while(0)
#endif /* not in BasiliskII */
/* Pty allocated with _getpty gets broken if we do I_PUSH:es to it. */