summaryrefslogtreecommitdiff
path: root/libsysfs
diff options
context:
space:
mode:
authorkay.sievers@vrfy.org <kay.sievers@vrfy.org>2005-03-10 00:58:01 +0100
committerGreg KH <gregkh@suse.de>2005-04-26 23:51:00 -0700
commit138068d690d79e71239d3e776f01560afbabc1cb (patch)
treed390cc993fabdb7a2c8657e88e47823ddf0805d8 /libsysfs
parent2b40452ab3146322a88ae201a2eb534204c75d63 (diff)
[PATCH] fix ia64 compile
Diffstat (limited to 'libsysfs')
-rw-r--r--libsysfs/sysfs_dir.c2
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,