From 317cc849c31c77172bdc4dc2e9be05d133fc939d Mon Sep 17 00:00:00 2001 From: Sascha Wildner Date: Wed, 11 Sep 2019 20:48:07 +0200 Subject: [PATCH] kern/pty: Fix comment to not name utmpx as reason for MAXPTYS == 1000. --- sys/kern/tty_pty.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sys/kern/tty_pty.c b/sys/kern/tty_pty.c index 7ab4a3b838..1cc6147ffa 100644 --- a/sys/kern/tty_pty.c +++ b/sys/kern/tty_pty.c @@ -218,9 +218,7 @@ ptyclone(struct dev_clone_args *ap) struct pt_ioctl *pti; /* - * Limit the number of unix98 pty (slave) devices to 1000, as - * the utmpx(5) format only allows for 8 bytes for the tty, - * "pts/XXX". + * Limit the number of unix98 pty (slave) devices to 1000 for now. * * If this limit is reached, we don't clone and return an error * to devfs. -- 2.41.0