Message ID | 20110415162005.eba5e8f3.randy.dunlap@oracle.com (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers | show |
--- linux-next-20110415.orig/net/mac80211/debugfs_sta.c +++ linux-next-20110415/net/mac80211/debugfs_sta.c @@ -108,7 +108,7 @@ static ssize_t sta_connected_time_read(s 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);