FreeBSD/usr.sbin/kgmon/kgmon.c
/*
 * Suppress options that require a writable kernel.
 */
Suppress options that require a writable kernel.
Suppress options that require a writable kernel .
void
kern_readonly(int mode)
{
	(void)fprintf(stderr, "kgmon: kernel read-only: ");
	if (pflag && (mode == GMON_PROF_HIRES || mode == GMON_PROF_ON))
		(void)fprintf(stderr, "data may be inconsistent\n");
	if (rflag)
		(void)fprintf(stderr, "-r suppressed\n");
	if (Bflag)
		(void)fprintf(stderr, "-B suppressed\n");
	if (bflag)
		(void)fprintf(stderr, "-b suppressed\n");
	if (hflag)
		(void)fprintf(stderr, "-h suppressed\n");
	rflag = Bflag = bflag = hflag = 0;
}
void kern_readonly ( int mode ) { ( void ) fprintf ( stderr , " " ) ; if ( pflag && ( mode == GMON_PROF_HIRES || mode == GMON_PROF_ON ) ) ( void ) fprintf ( stderr , " \n " ) ; if ( rflag ) ( void ) fprintf ( stderr , " \n " ) ; if ( Bflag ) ( void ) fprintf ( stderr , " \n " ) ; if ( bflag ) ( void ) fprintf ( stderr , " \n " ) ; if ( hflag ) ( void ) fprintf ( stderr , " \n " ) ; rflag = Bflag = bflag = hflag = 0 ; }
Suppress options that require a writable kernel.
Suppress options that require a writable kernel .