hal: Branch 'master'

Danny Kukawka dkukawka at kemper.freedesktop.org
Mon Mar 5 15:20:03 PST 2007


 hald/create_cache.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

New commits:
diff-tree 34809dfc0912577b6bf85eeca59736200b6a909d (from 882085a0517934c656ab56aa161fdf514d2cfae6)
Author: Danny Kukawka <danny.kukawka at web.de>
Date:   Tue Mar 6 00:19:05 2007 +0100

    fixed commit 882085a0, forgot cast to unsigned long
    
    Fixed commit 882085a0, forgot cast to unsigned long for %lu.

diff --git a/hald/create_cache.c b/hald/create_cache.c
index f4fccbf..7537780 100644
--- a/hald/create_cache.c
+++ b/hald/create_cache.c
@@ -238,7 +238,7 @@ static void store_value(struct fdi_conte
 	p = malloc(value_len + 1);
 
 	if(!p)
-	    DIE(("Could not allocate %ul bytes", value_len + 1));
+	    DIE(("Could not allocate %ul bytes", (unsigned long) value_len + 1));
 
 	memcpy(p, value, value_len);
 	p[value_len] = '\0';


More information about the hal-commit mailing list