=== modified file 'kern/device.c' --- kern/device.c 2009-07-13 22:21:49 +0000 +++ kern/device.c 2009-12-10 12:26:22 +0000 @@ -109,6 +109,8 @@ (void) grub_partition_iterate (dev->disk, iterate_partition); grub_device_close (dev); + grub_errno = GRUB_ERR_NONE; + p = ents; while (p != NULL) {