chiark / gitweb /
[PATCH] fix ia64 compile
[elogind.git] / libsysfs / sysfs_dir.c
index 63eec7bb9ac06aa0e042d2a2cc530da636cfb294..ac3936656caabec9a39b7c052d0d719af248494b 100644 (file)
@@ -244,7 +244,7 @@ int sysfs_write_attribute(struct sysfs_attribute *sysattr,
                close(fd);
                return -1;
        } else if ((unsigned int)length != len) {
-               dprintf("Could not write %d bytes to attribute %s\n", 
+               dprintf("Could not write %zd bytes to attribute %s\n", 
                                        len, sysattr->name);
                /* 
                 * since we could not write user supplied number of bytes,