diff options
Diffstat (limited to 'libsysfs')
-rw-r--r-- | libsysfs/sysfs_dir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libsysfs/sysfs_dir.c b/libsysfs/sysfs_dir.c index 63eec7bb9a..ac3936656c 100644 --- a/libsysfs/sysfs_dir.c +++ b/libsysfs/sysfs_dir.c @@ -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, |