From 775b57cd018c1bb30d204de5c799281d531c950b Mon Sep 17 00:00:00 2001 From: mrg Date: Fri, 22 Dec 2000 02:52:47 +0000 Subject: [PATCH] say ": Could not initialize curses", with the progname --- usr.bin/menuc/mdb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.bin/menuc/mdb.c b/usr.bin/menuc/mdb.c index 84fbaa425397..5351578fdddc 100644 --- a/usr.bin/menuc/mdb.c +++ b/usr.bin/menuc/mdb.c @@ -1,4 +1,4 @@ -/* $NetBSD: mdb.c,v 1.17 2000/08/15 02:09:11 phil Exp $ */ +/* $NetBSD: mdb.c,v 1.18 2000/12/22 02:52:47 mrg Exp $ */ /* * Copyright 1997 Piermont Information Systems Inc. @@ -377,7 +377,7 @@ write_menu_file (char *initcode) if (error_act.code == NULL) { (void) fprintf (out_file, "\t(void) fprintf (stderr, " - "\"Could not initialize curses\\n\");\n" + "\"%%s: Could not initialize curses\\n\",prog_name);\n" "\texit(1);\n" "}\n"); } else {