Make this work the way it was really supposed to - less intrusively.
This commit is contained in:
parent
de0ad7f292
commit
0fe610487f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=4153
@ -44,10 +44,9 @@ void
|
||||
yelp(char *str)
|
||||
{
|
||||
standout();
|
||||
mvprintw(24, 0, "Validation Error: %s. Press return to continue", str);
|
||||
mvprintw(24, 0, "%s", str);
|
||||
standend();
|
||||
beep();
|
||||
(void)getch();
|
||||
}
|
||||
|
||||
void
|
||||
@ -615,10 +614,7 @@ DiskLabel()
|
||||
flag=0;
|
||||
if (ioctl(Dfd[diskno], DIOCWLABEL, &flag) < 0)
|
||||
Fatal("Couldn't disable writing of labels");
|
||||
|
||||
mvprintw(24, 0,
|
||||
"Label written successfully. Press return to continue.");
|
||||
(void)getch();
|
||||
yip = "Label written successfully.";
|
||||
break;
|
||||
|
||||
case 'q': case 'Q':
|
||||
|
Loading…
Reference in New Issue
Block a user