Commit 9434db57 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

More nitpickery to make OpenSolaris compile

Having printw() take a "char*" rather than "const char*" as fmt argument
feels sooo 1980 to me...
parent 12a85b93
......@@ -224,10 +224,11 @@ do_curses(struct VSM_data *vd, const struct vsc_main *VSC_main,
(ju >> 24) & 0xffffffffffLL));
for (ch = 0x800000; ch; ch >>= 1)
if (ju & ch)
AC(printw("V"));
AC(addstr("V"));
else
AC(printw("_"));
AC(printw(" %s", pt->name));
AC(addstr("_"));
AC(addstr(" "));
AC(addstr(pt->name));
} else {
AC(mvprintw(line, 0,
"%12ju %12s %12s %s\n",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment