Commit 693ae15f authored by David S. Miller's avatar David S. Miller

[NET]: Print statistics using unsigned format in sysfs.

parent ba479a78
......@@ -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 */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment