--- ./grub/docs/user-ref.texi Wed Dec 27 13:15:57 2000 +++ ./grub/docs/user-ref.texi Sun Jan 14 23:16:47 2001 @@ -738,9 +738,9 @@ @deffn Command setkey to_key from_key Change the keyboard map. The key @var{from_key} is mapped to the key address@hidden Note that this command @emph{does not} exchange the -keys. If you want to exchange the keys, run this command again with the -arguments exchanged, like this: address@hidden If no argument is specified, reset key mappings. Note that +this command @emph{does not} exchange the keys. If you want to exchange +the keys, run this command again with the arguments exchanged, like this: @example grub> @kbd{setkey capslock control} --- ./grub/stage2/builtins.c Sun Jan 14 20:57:15 2001 +++ ./grub/stage2/builtins.c Sun Jan 14 23:06:41 2001 @@ -3396,7 +3396,7 @@ to_key = arg; from_key = skip_to (0, to_key); - if (! to_key) + if (! *to_key) { /* If the user specifies no argument, reset the key mappings. */ grub_memset (bios_key_map, 0, KEY_MAP_SIZE * sizeof (unsigned short));