svn commit: r347468 - head/sys/kern
Doug Moore
dougm at FreeBSD.org
Fri May 10 22:02:30 UTC 2019
Author: dougm
Date: Fri May 10 22:02:29 2019
New Revision: 347468
URL: https://svnweb.freebsd.org/changeset/base/347468
Log:
Add a (q)uit option to the subr_blist test program.
Approved by: kib (mentor)
Differential Revision: https://reviews.freebsd.org/D20234
Modified:
head/sys/kern/subr_blist.c
Modified: head/sys/kern/subr_blist.c
==============================================================================
--- head/sys/kern/subr_blist.c Fri May 10 21:55:11 2019 (r347467)
+++ head/sys/kern/subr_blist.c Fri May 10 22:02:29 2019 (r347468)
@@ -1148,13 +1148,18 @@ main(int ac, char **av)
"f %x %d -free\n"
"l %x %d -fill\n"
"r %d -resize\n"
- "h/? -help"
+ "h/? -help\n"
+ "q -quit"
);
break;
+ case 'q':
+ break;
default:
printf("?\n");
break;
}
+ if (buf[0] == 'q')
+ break;
}
return (0);
}
More information about the svn-src-head
mailing list