From c44edd1c395fb96c9513804ffa6d5ec771e0c11f Mon Sep 17 00:00:00 2001 From: Matthew Dillon Date: Thu, 22 Mar 2018 09:09:50 -0700 Subject: [PATCH] kernel - Fix tapN creation >= 32 units, fix pty issues >= 32 ptys (2) * Also fix incorrect shift type in devfs_clone_bitmap_set(). Submitted-by: Aaron LI --- sys/vfs/devfs/devfs_helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/vfs/devfs/devfs_helper.c b/sys/vfs/devfs/devfs_helper.c index c906e22429..5f8b0842ce 100644 --- a/sys/vfs/devfs/devfs_helper.c +++ b/sys/vfs/devfs/devfs_helper.c @@ -136,7 +136,7 @@ devfs_clone_bitmap_set(struct devfs_bitmap *bitmap, int unit) if (chunk >= bitmap->chunks) devfs_clone_bitmap_resize(bitmap, chunk); - bitmap->bitmap[chunk] &= ~(1<bitmap[chunk] &= ~(1L << unit); } /* -- 2.41.0