ok miod@, deraadt@, shadchin@
-/* $OpenBSD: subr_userconf.c,v 1.41 2014/07/13 15:29:04 tedu Exp $ */
+/* $OpenBSD: subr_userconf.c,v 1.42 2014/07/23 20:49:53 mpi Exp $ */
/*
* Copyright (c) 1996-2001 Mats O Jansson <moj@stacken.kth.se>
userconf_init();
printf("User Kernel Config\n");
+ cnpollc(1);
while (1) {
printf("UKC> ");
if (getsn(userconf_cmdbuf, sizeof(userconf_cmdbuf)) > 0 &&
userconf_parse(userconf_cmdbuf))
break;
}
+ cnpollc(0);
+
printf("Continuing...\n");
}