[1878] 2008-09-28 Bean <[email protected]>

Bean <[email protected]>
Newsgroups gmane.comp.boot-loaders.grub.cvs
Message-ID <[email protected]>
Revision: 1878
          http://svn.sv.gnu.org/viewvc/?view=rev&root=grub&revision=1878
Author:   bean
Date:     2008-09-28 03:35:49 +0000 (Sun, 28 Sep 2008)

Log Message:
-----------
2008-09-28  Bean  <[email protected]>

	* fs/ntfs.c (grub_ntfs_iterate_dir): Fix a bug in the previous patch.
	Thanks to Christian Franke for finding this bug.

Modified Paths:
--------------
    trunk/grub2/ChangeLog
    trunk/grub2/fs/ntfs.c

Modified: trunk/grub2/ChangeLog
===================================================================
--- trunk/grub2/ChangeLog	2008-09-25 14:40:59 UTC (rev 1877)
+++ trunk/grub2/ChangeLog	2008-09-28 03:35:49 UTC (rev 1878)
@@ -1,3 +1,8 @@
+2008-09-28  Bean  <[email protected]>
+
+	* fs/ntfs.c (grub_ntfs_iterate_dir): Fix a bug in the previous patch.
+	Thanks to Christian Franke for finding this bug.
+
 2008-09-25  Robert Millan  <[email protected]>
 
 	* util/grub-mkdevicemap.c (make_device_map): Actually replace all

Modified: trunk/grub2/fs/ntfs.c
===================================================================
--- trunk/grub2/fs/ntfs.c	2008-09-25 14:40:59 UTC (rev 1877)
+++ trunk/grub2/fs/ntfs.c	2008-09-28 03:35:49 UTC (rev 1878)
@@ -700,7 +700,7 @@
           int is_resident = (cur_pos[8] == 0);
 
           bitmap_len = ((is_resident) ? u32at (cur_pos, 0x10) :
-                        (cur_pos, 0x28));
+                        u32at (cur_pos, 0x28));
 
           bmp = grub_malloc (bitmap_len);
           if (bmp == NULL)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.