This mail is an automated notification from the bugs tracker
 of the project: GNU GRUB.




/**************************************************************************/
[bugs #10552] Full Item Snapshot:

URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=10552>
Project: GNU GRUB
Submitted by: Stefanus Du Toit
On: Fri 10/01/04 at 21:47

Category:  Documentation
Severity:  Major
Priority:  5 - Normal
Item Group:  Non-software Error
Resolution:  None
Privacy:  Public
Assigned to:  None
Originator Name:  
Originator Email:  
Status:  Open
Release:  0.95, CVS
Reproducibility:  Every Time
Planned Release:  


Summary:  Multiboot example "kernel.c" incorrectly loops through modules

Original Submission:  I already sent this to bug-grub, but figured I should add it 
here too.

kernel.c in docs/ (and the corresponding texi file) has a small mistake: in the loop 
that's supposed to iterate over all the modules, sizeof(module_t) is added to mod. But 
mod is already a pointer to module_t, so an increment of one is the correct value.

Patch attached. Please apply this, it's pretty trivial and it's confused several 
students in a class I'm TAing.





File Attachments
-------------------

-------------------------------------------------------
Date: Fri 10/01/04 at 21:47  Name: grub-example.patch  Size: 1.89KB   By: sdt
Patch fixing this bug for Grub CVS
http://savannah.gnu.org/bugs/download.php?item_id=10552&amp;item_file_id=1727






For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=10552>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





_______________________________________________
Bug-grub mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/bug-grub

Reply via email to