hal: Branch 'master'

Danny Kukawka dkukawka at kemper.freedesktop.org
Mon Mar 5 14:55:29 PST 2007


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

New commits:
diff-tree 882085a0517934c656ab56aa161fdf514d2cfae6 (from b555e22e7418e7f77b6cf5cdf91bba2113282f22)
Author: Danny Kukawka <danny.kukawka at web.de>
Date:   Mon Mar 5 23:55:03 2007 +0100

    fixed compiler warning in create_cache.c
    
    Fixed compiler warning related to format arguments.

diff --git a/hald/create_cache.c b/hald/create_cache.c
index 84dabae..f4fccbf 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 %d bytes", value_len + 1));
+	    DIE(("Could not allocate %ul bytes", value_len + 1));
 
 	memcpy(p, value, value_len);
 	p[value_len] = '\0';


More information about the hal-commit mailing list