commit-grub
[Top][All Lists]
Advanced

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

[2387] 2009-07-01 Pavel Roskin <address@hidden>


From: Pavel Roskin
Subject: [2387] 2009-07-01 Pavel Roskin <address@hidden>
Date: Wed, 01 Jul 2009 23:07:17 +0000

Revision: 2387
          http://svn.sv.gnu.org/viewvc/?view=rev&root=grub&revision=2387
Author:   proski
Date:     2009-07-01 23:07:17 +0000 (Wed, 01 Jul 2009)
Log Message:
-----------
2009-07-01  Pavel Roskin  <address@hidden>

        * util/hostdisk.c (grub_util_biosdisk_get_grub_dev): Make `p'
        constant to avoid a warning on FreeBSD.

Modified Paths:
--------------
    trunk/grub2/ChangeLog
    trunk/grub2/util/hostdisk.c

Modified: trunk/grub2/ChangeLog
===================================================================
--- trunk/grub2/ChangeLog       2009-07-01 22:56:51 UTC (rev 2386)
+++ trunk/grub2/ChangeLog       2009-07-01 23:07:17 UTC (rev 2387)
@@ -1,5 +1,8 @@
 2009-07-01  Pavel Roskin  <address@hidden>
 
+       * util/hostdisk.c (grub_util_biosdisk_get_grub_dev): Make `p'
+       constant to avoid a warning on FreeBSD.
+
        * util/hostdisk.c (device_is_wholedisk): Compile only on systems
        where it's needed.
 

Modified: trunk/grub2/util/hostdisk.c
===================================================================
--- trunk/grub2/util/hostdisk.c 2009-07-01 22:56:51 UTC (rev 2386)
+++ trunk/grub2/util/hostdisk.c 2009-07-01 23:07:17 UTC (rev 2387)
@@ -1047,7 +1047,8 @@
 
     if (strncmp ("/dev/", os_dev, 5) == 0)
       {
-        char *p, *q;
+        const char *p;
+        char *q;
         long int n;
 
         for (p = os_dev + 5; *p; ++p)





reply via email to

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