commit 6c549ce8525065d479e96b3fd24ef917e641a08e
Author: Ryota Ozaki <ozaki-r@iij.ad.jp>
Date:   Mon Aug 19 16:28:23 2019 +0900

    Allow including numbers in %XXX_chr% parameter (for vio9p device)

diff --git a/etc/MAKEDEV.awk b/etc/MAKEDEV.awk
index bb0d0c5832c..d8d0af33476 100644
--- a/etc/MAKEDEV.awk
+++ b/etc/MAKEDEV.awk
@@ -305,7 +305,7 @@ BEGIN {
 		# or block device definition remains within the entry,
 		# print it to output, otherwise scrap it.
 		parsed = ""
-		while (match(deventry, /%[a-z]*_(blk|chr)%/)) {
+		while (match(deventry, /%[a-z0-9]*_(blk|chr)%/)) {
 			nam = substr(deventry, RSTART + 1, RLENGTH - 6);
 			typ = substr(deventry, RSTART + RLENGTH - 4, 3);
 			if (typ == "blk") {