grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [1870] 2008-09-22 Bean -- Missing function call?


From: Christian Franke
Subject: Re: [1870] 2008-09-22 Bean -- Missing function call?
Date: Sun, 28 Sep 2008 00:15:09 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.16) Gecko/20080702 SeaMonkey/1.1.11

Bean wrote:
Revision: 1870
          http://svn.sv.gnu.org/viewvc/?view=rev&root=grub&revision=1870
Author:   bean
Date:     2008-09-22 04:18:57 +0000 (Mon, 22 Sep 2008)

Log Message:
-----------
2008-09-22  Bean  <address@hidden>

        * fs/ntfs.c (grub_ntfs_iterate_dir): Fix a rare case where $BITMAP is
        resident and in attribute list.

        * include/grub/ntfs.h (BMP_LEN): Removed.

[...}
-         if (read_data (at, cur_pos, bmp, 0, u32at (cur_pos, 0x28), 0, 0))
+          bitmap_len = ((is_resident) ? u32at (cur_pos, 0x10) :
+                        (cur_pos, 0x28));
+


Compiler warning "left-hand operand of comma expression has no effect" suggests that a function/macro call is missing:

          bitmap_len = ((is_resident) ? u32at (cur_pos, 0x10) :
-                        (cur_pos, 0x28));
+                        u32at (cur_pos, 0x28));



Christian





reply via email to

[Prev in Thread] Current Thread [Next in Thread]