From 0b244811beaa0c1bed9cacfc0f92841cd2871171 Mon Sep 17 00:00:00 2001 From: Randy Dunlap Date: Fri, 15 Apr 2011 16:20:05 -0700 Subject: [PATCH] --- yaml --- r: 246944 b: refs/heads/master c: 7762bb02ce13c191e0a2da159bcb8d9b374b88c4 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/net/mac80211/debugfs_sta.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 6933cc2b8658..bf2d9f3a2314 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 0477ad72a12d4ee3f588de9349012948ea25702b +refs/heads/master: 7762bb02ce13c191e0a2da159bcb8d9b374b88c4 diff --git a/trunk/net/mac80211/debugfs_sta.c b/trunk/net/mac80211/debugfs_sta.c index c008232731eb..a01d2137fddc 100644 --- a/trunk/net/mac80211/debugfs_sta.c +++ b/trunk/net/mac80211/debugfs_sta.c @@ -108,7 +108,7 @@ static ssize_t sta_connected_time_read(struct file *file, char __user *userbuf, result.tm_year -= 70; result.tm_mday -= 1; res = scnprintf(buf, sizeof(buf), - "years - %d\nmonths - %d\ndays - %d\nclock - %d:%d:%d\n\n", + "years - %ld\nmonths - %d\ndays - %d\nclock - %d:%d:%d\n\n", result.tm_year, result.tm_mon, result.tm_mday, result.tm_hour, result.tm_min, result.tm_sec); return simple_read_from_buffer(userbuf, count, ppos, buf, res);