diff options
-rw-r--r-- | net/mac80211/debugfs_sta.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/debugfs_sta.c b/net/mac80211/debugfs_sta.c index c008232731eb..a01d2137fddc 100644 --- a/net/mac80211/debugfs_sta.c +++ b/net/mac80211/debugfs_sta.c | |||
@@ -108,7 +108,7 @@ static ssize_t sta_connected_time_read(struct file *file, char __user *userbuf, | |||
108 | result.tm_year -= 70; | 108 | result.tm_year -= 70; |
109 | result.tm_mday -= 1; | 109 | result.tm_mday -= 1; |
110 | res = scnprintf(buf, sizeof(buf), | 110 | res = scnprintf(buf, sizeof(buf), |
111 | "years - %d\nmonths - %d\ndays - %d\nclock - %d:%d:%d\n\n", | 111 | "years - %ld\nmonths - %d\ndays - %d\nclock - %d:%d:%d\n\n", |
112 | result.tm_year, result.tm_mon, result.tm_mday, | 112 | result.tm_year, result.tm_mon, result.tm_mday, |
113 | result.tm_hour, result.tm_min, result.tm_sec); | 113 | result.tm_hour, result.tm_min, result.tm_sec); |
114 | return simple_read_from_buffer(userbuf, count, ppos, buf, res); | 114 | return simple_read_from_buffer(userbuf, count, ppos, buf, res); |