Mark splash.enable and splash.progress write-only, there are no ioctls

to get the values.
This commit is contained in:
uwe 2006-08-13 23:52:11 +00:00
parent a06a1b0add
commit b87585ec3c

View File

@ -1,4 +1,4 @@
/* $NetBSD: display.c,v 1.13 2006/02/18 19:35:11 jmcneill Exp $ */
/* $NetBSD: display.c,v 1.14 2006/08/13 23:52:11 uwe Exp $ */
/*-
* Copyright (c) 1998, 2004 The NetBSD Foundation, Inc.
@ -75,8 +75,8 @@ struct field display_field_tab[] = {
{ "msg.kernel.attrs", &msg_kernel_attrs, FMT_ATTRS, 0 },
{ "msg.kernel.bg", &msg_kernel_bg, FMT_COLOR, 0 },
{ "msg.kernel.fg", &msg_kernel_fg, FMT_COLOR, 0 },
{ "splash.enable", &splash_enable, FMT_UINT, 0 },
{ "splash.progress", &splash_progress, FMT_UINT, 0 },
{ "splash.enable", &splash_enable, FMT_UINT, FLG_WRONLY },
{ "splash.progress", &splash_progress, FMT_UINT, FLG_WRONLY },
};
int display_field_tab_len = sizeof(display_field_tab) /