summaryrefslogtreecommitdiffstats
path: root/sys/pc98
diff options
context:
space:
mode:
authorkato <kato@FreeBSD.org>1998-12-14 08:53:32 +0000
committerkato <kato@FreeBSD.org>1998-12-14 08:53:32 +0000
commit6fdd1bf25521d72aa2faa6c05f6eb0b9efcbc7b4 (patch)
treeb9a219524ab6eeed650b850b6d65272dac0928e3 /sys/pc98
parentf6ffb5f3719143e95b1053ea7157b05621a2cdd3 (diff)
downloadFreeBSD-src-6fdd1bf25521d72aa2faa6c05f6eb0b9efcbc7b4.zip
FreeBSD-src-6fdd1bf25521d72aa2faa6c05f6eb0b9efcbc7b4.tar.gz
Sync with sys/i386/i386/userconfig.c revision 1.118.
Diffstat (limited to 'sys/pc98')
-rw-r--r--sys/pc98/i386/userconfig.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/sys/pc98/i386/userconfig.c b/sys/pc98/i386/userconfig.c
index 5cf196c..9b2ceec 100644
--- a/sys/pc98/i386/userconfig.c
+++ b/sys/pc98/i386/userconfig.c
@@ -46,7 +46,7 @@
** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
** THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
**
- ** $Id: userconfig.c,v 1.60 1998/12/05 09:22:05 kato Exp $
+ ** $Id: userconfig.c,v 1.61 1998/12/08 08:17:43 kato Exp $
**/
/**
@@ -160,7 +160,7 @@ getchar(void)
static int assize; /* use of int for -ve magic value */
static int autocheck = 0;
caddr_t autoentry, autoattr;
- int c;
+ int c = 0;
static int intro = 0;
/* Look for loaded userconfig script */
@@ -2025,15 +2025,17 @@ static void
helpscreen(void)
{
int topline = 0; /* where we are in the text */
- int line, c, delta = 1;
+ int c, delta = 1;
char prompt[80];
for (;;) /* loop until user quits */
{
+ int line = 0;
+
/* display help text */
if (delta)
{
- clear(); /* remove everything else */
+ clear(); /* remove everything else */
for (line = topline;
(line < (topline + 24)) && (helptext[line]);
line++)
@@ -2473,7 +2475,7 @@ visuserconfig(void)
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: userconfig.c,v 1.60 1998/12/05 09:22:05 kato Exp $
+ * $Id: userconfig.c,v 1.61 1998/12/08 08:17:43 kato Exp $
*/
#include "scbus.h"
OpenPOWER on IntegriCloud