attron(A_BOLD); printw("O"); attroff(A_BOLD); printw("rder of fields ");
attron(A_BOLD); printw("q"); attroff(A_BOLD); printw("uit\n");
- if (display_mode == DisplayModeDefalt) {
+ if (display_mode == DisplayModeDefault) {
for (i=0; i < MAXFLD; i++ ) {
j = fld_index[fld_active[i]];
if (j < 0) continue;
display_mode = strtoint_or_err(optarg, "invalid argument");
if ((DisplayModeMAX - 1) < display_mode)
error(EXIT_FAILURE, 0, "value out of range (%d - %d): %s",
- DisplayModeDefalt, (DisplayModeMAX - 1), optarg);
+ DisplayModeDefault, (DisplayModeMAX - 1), optarg);
break;
case 'c':
MaxPing = strtoint_or_err(optarg, "invalid argument");
srand (getpid());
display_detect(&argc, &argv);
- display_mode = DisplayModeDefalt;
+ display_mode = DisplayModeDefault;
/* The field options are now in a static array all together,
but that requires a run-time initialization. */