Constify format string pointer, otherwise this would trigger warning when

higher warning level is enabled.
This commit is contained in:
Xin LI 2009-09-08 01:11:23 +00:00
parent b0d0537558
commit 277dbce981
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=196956

View File

@ -58,7 +58,7 @@ pr_attime(time_t *started, time_t *now)
static wchar_t buf[256];
struct tm tp, tm;
time_t diff;
wchar_t *fmt;
const wchar_t *fmt;
int len, width, offset = 0;
tp = *localtime(started);