err(1, name);
err(1, "%s", name);
kbd_set(name, verbose)	char *name;	int verbose;{	if (ispcvt() < 0) {		int i, j, fd;		pccons_keymap_t *map = NULL;		for (i = 0; keymaps[i].name[0]; i++)			for (j = 0; j < NUM_NAMES && keymaps[i].name[j]; j++)				if (strcmp(keymaps[i].name[j], name) == 0) {					name = keymaps[i].name[0];					map = keymaps[i].map;					break;				}		if (map == NULL) {			fprintf(stderr, "%s: no such keymap: %s\n",				__progname, name);			exit(1);		}		if ((fd = open(_PATH_CONSOLE, O_RDONLY)) < 0)			err(1, "%s", _PATH_CONSOLE);		if (ioctl(fd, CONSOLE_SET_KEYMAP, map) < 0)			err(1, "CONSOLE_SET_KEYMAP");		close(fd);		if (verbose)			fprintf(stderr, "keyboard mapping set to %s\n", name);	} else {		char buf[32];		snprintf(buf, sizeof(buf), "kcon -m %s", name);		if (system(buf))			err(1, name);	}}