From 6105e384884eab908203f363e66b0aaf44c74868 Mon Sep 17 00:00:00 2001 From: ellson Date: Tue, 27 Jun 2006 12:43:47 +0000 Subject: [PATCH] rename panic() to panic1() because of conflict on Darwin with /usr/include/mach/mach.h:79 --- cmd/lefty/lefty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/lefty/lefty.c b/cmd/lefty/lefty.c index a626c8aa5..bb3215bf9 100644 --- a/cmd/lefty/lefty.c +++ b/cmd/lefty/lefty.c @@ -451,7 +451,7 @@ static void processargs (int argc, char *argv[]) { fp = stdin; else { if ((fp = fopen (argv[0], "r")) == NULL) - panic (POS, "main", "cannot open input file: %s", argv[0]); + panic1 (POS, "main", "cannot open input file: %s", argv[0]); } argv++, argc--; } -- 2.40.0