diff options
author | Todd T. Fries <todd@cvs.openbsd.org> | 2000-07-06 00:59:02 +0000 |
---|---|---|
committer | Todd T. Fries <todd@cvs.openbsd.org> | 2000-07-06 00:59:02 +0000 |
commit | d11cc075a89c62b86885b0d346fab43051679441 (patch) | |
tree | c3984219d5380c8184f8fe6ee100cabc05f6b7a5 /sys/kern/subr_userconf.c | |
parent | d3615488710b6e955dbdad0399aa749de95a9182 (diff) |
printf %s
Diffstat (limited to 'sys/kern/subr_userconf.c')
-rw-r--r-- | sys/kern/subr_userconf.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/kern/subr_userconf.c b/sys/kern/subr_userconf.c index d52132e99b9..14afc3a9e86 100644 --- a/sys/kern/subr_userconf.c +++ b/sys/kern/subr_userconf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: subr_userconf.c,v 1.20 2000/05/19 17:07:05 maja Exp $ */ +/* $OpenBSD: subr_userconf.c,v 1.21 2000/07/06 00:59:01 todd Exp $ */ /* * Copyright (c) 1996 Mats O Jansson <moj@stacken.kth.se> @@ -1228,13 +1228,11 @@ userconf_parse(cmd) void user_config() { - char prompt[] = "UKC> "; - userconf_init(); printf("User Kernel Config\n"); while (1) { - printf(prompt); + printf("UKC> "); if (getsn(userconf_cmdbuf, sizeof(userconf_cmdbuf)) > 0 && userconf_parse(userconf_cmdbuf)) break; |