summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.bin/w/pr_time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/w/pr_time.c b/usr.bin/w/pr_time.c
index 4576b5e..acf6f8c 100644
--- a/usr.bin/w/pr_time.c
+++ b/usr.bin/w/pr_time.c
@@ -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);
OpenPOWER on IntegriCloud