--- grub-0.97/stage2/builtins.c 2017-12-16 14:34:16.130000000 +0000 +++ builtins.c 2017-12-16 14:33:27.180000000 +0000 @@ -1984,7 +1984,7 @@ /* Read Stage 1. */ is_open = grub_open (stage1_file); if (! is_open - || ! grub_read (stage1_buffer, SECTOR_SIZE) == SECTOR_SIZE) + || grub_read (stage1_buffer, SECTOR_SIZE) != SECTOR_SIZE) goto fail; /* Read the old sector from DEST_DEV. */