[OpenBIOS] r512 - in trunk/openbios-devel: arch/sparc32 drivers
svn at openbios.org
svn at openbios.org
Mon Jul 20 08:52:23 CEST 2009
Author: blueswirl
Date: 2009-07-20 08:52:23 +0200 (Mon, 20 Jul 2009)
New Revision: 512
Modified:
trunk/openbios-devel/arch/sparc32/romvec.c
trunk/openbios-devel/drivers/esp.c
Log:
Fix build errors with debugging enabled
Modified: trunk/openbios-devel/arch/sparc32/romvec.c
===================================================================
--- trunk/openbios-devel/arch/sparc32/romvec.c 2009-07-12 20:16:39 UTC (rev 511)
+++ trunk/openbios-devel/arch/sparc32/romvec.c 2009-07-20 06:52:23 UTC (rev 512)
@@ -101,7 +101,7 @@
}
#ifdef CONFIG_DEBUG_OBP
-static int looks_like_string(char *str, int len)
+static int looks_like_string(const char *str, int len)
{
int i;
int ret = (str[len-1] == '\0');
Modified: trunk/openbios-devel/drivers/esp.c
===================================================================
--- trunk/openbios-devel/drivers/esp.c 2009-07-12 20:16:39 UTC (rev 511)
+++ trunk/openbios-devel/drivers/esp.c 2009-07-20 06:52:23 UTC (rev 512)
@@ -139,8 +139,8 @@
static int
ob_sd_read_sector(esp_private_t *esp, sd_private_t *sd, int offset)
{
- DPRINTF("ob_sd_read_sector id %d %lx sector=%d\n",
- sd->id, (unsigned long)dest, offset);
+ DPRINTF("ob_sd_read_sector id %d sector=%d\n",
+ sd->id, offset);
// Setup command = Read(10)
memset(esp->buffer, 0, 10);
More information about the OpenBIOS
mailing list