summaryrefslogtreecommitdiff
path: root/sys/dev/pty
diff options
context:
space:
mode:
authorEd Schouten <ed@FreeBSD.org>2011-06-26 18:26:20 +0000
committerEd Schouten <ed@FreeBSD.org>2011-06-26 18:26:20 +0000
commit7c9669276e4a26554643756f0c0ff180b990b625 (patch)
tree6dadaf4b44c7fc8c9b8f9f4d96f553859ca7411d /sys/dev/pty
parentaaa232d41db01998423d03fef6a2fbac37da7248 (diff)
Notes
Diffstat (limited to 'sys/dev/pty')
-rw-r--r--sys/dev/pty/pty.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pty/pty.c b/sys/dev/pty/pty.c
index 5a542cb6c5b6..5e2d822fe291 100644
--- a/sys/dev/pty/pty.c
+++ b/sys/dev/pty/pty.c
@@ -79,7 +79,7 @@ ptydev_fdopen(struct cdev *dev, int fflags, struct thread *td, struct file *fp)
/* Raise a warning when a legacy PTY has been allocated. */
if (pty_warningcnt > 0) {
pty_warningcnt--;
- log(LOG_INFO, "pid %d (%s) is using legacy pty devices%s\n",
+ log(LOG_INFO, "pid %d (%s) is using legacy pty devices%s\n",
td->td_proc->p_pid, td->td_name,
pty_warningcnt ? "" : " - not logging anymore");
}
@@ -139,8 +139,8 @@ static int
pty_modevent(module_t mod, int type, void *data)
{
- switch(type) {
- case MOD_LOAD:
+ switch(type) {
+ case MOD_LOAD:
EVENTHANDLER_REGISTER(dev_clone, pty_clone, 0, 1000);
make_dev_credf(MAKEDEV_ETERNAL_KLD, &ptmx_cdevsw, 0, NULL,
UID_ROOT, GID_WHEEL, 0666, "ptmx");