Module Name: src
Committed By: mrg
Date: Wed Jul 6 01:18:08 UTC 2011
Modified Files:
src/distrib/utils/sysinst: run.c
Log Message:
fix check against errstr to use the right variable. GCC 4.5 rightly
complained that err (the libc function) is always not NULL.
To generate a diff of this commit:
cvs rdiff -u -r1.67 -r1.68 src/distrib/utils/sysinst/run.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/distrib/utils/sysinst/run.c
diff -u src/distrib/utils/sysinst/run.c:1.67 src/distrib/utils/sysinst/run.c:1.68
--- src/distrib/utils/sysinst/run.c:1.67 Mon May 30 14:20:19 2011
+++ src/distrib/utils/sysinst/run.c Wed Jul 6 01:18:08 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: run.c,v 1.67 2011/05/30 14:20:19 joerg Exp $ */
+/* $NetBSD: run.c,v 1.68 2011/07/06 01:18:08 mrg Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@@ -677,7 +677,7 @@
if (actionwin != NULL) {
if (actionwin != stdscr)
delwin(actionwin);
- if (err == 0 || !(flags & RUN_NO_CLEAR)) {
+ if (errstr == 0 || !(flags & RUN_NO_CLEAR)) {
wclear(stdscr);
touchwin(stdscr);
clearok(stdscr, 1);