diff options
| author | David S. Miller <davem@nuts.ninka.net> | 2003-07-22 22:21:55 -0700 |
|---|---|---|
| committer | David S. Miller <davem@nuts.ninka.net> | 2003-07-22 22:21:55 -0700 |
| commit | 693ae15fdb00c8bae45a28161e8ca210bbfa07cc (patch) | |
| tree | ea4b471e7f9d6ee63a07abe65ca29767fafc982d /net | |
| parent | ba479a7865178d25c7e8d6fea474c79a9d278376 (diff) | |
[NET]: Print statistics using unsigned format in sysfs.
Diffstat (limited to 'net')
| -rw-r--r-- | net/core/net-sysfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/net-sysfs.c b/net/core/net-sysfs.c index fcb38de5ad40..e163036c3f83 100644 --- a/net/core/net-sysfs.c +++ b/net/core/net-sysfs.c @@ -186,7 +186,7 @@ struct netstat_fs_entry { static ssize_t net_device_stat_show(unsigned long var, char *buf) { - return sprintf(buf, "%ld\n", var); + return sprintf(buf, "%lu\n", var); } /* generate a read-only statistics attribute */ |
