Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/sushi don't report curses initialization failure us...
details: https://anonhg.NetBSD.org/src/rev/fe5a96748d93
branches: trunk
changeset: 535285:fe5a96748d93
user: pooka <pooka%NetBSD.org@localhost>
date: Tue Aug 13 18:16:31 2002 +0000
description:
don't report curses initialization failure using curses
diffstat:
usr.sbin/sushi/sushi.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (19 lines):
diff -r 38e277da0f78 -r fe5a96748d93 usr.sbin/sushi/sushi.c
--- a/usr.sbin/sushi/sushi.c Tue Aug 13 15:03:30 2002 +0000
+++ b/usr.sbin/sushi/sushi.c Tue Aug 13 18:16:31 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sushi.c,v 1.10 2002/07/25 12:39:26 jdolecek Exp $ */
+/* $NetBSD: sushi.c,v 1.11 2002/08/13 18:16:31 pooka Exp $ */
/*
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -104,8 +104,7 @@
}
if (initscr() == NULL)
- bailout("%s", catgets(catalog, 1, 22,
- "Cannot initialize curses"));
+ errx(1, "%s", "Cannot initialize curses");
cdkscreen = initCDKScreen(stdscr);
Home |
Main Index |
Thread Index |
Old Index