svn commit: r294594 - head/sys/dev/pty
Konstantin Belousov
kib at FreeBSD.org
Fri Jan 22 20:28:25 UTC 2016
Author: kib
Date: Fri Jan 22 20:28:24 2016
New Revision: 294594
URL: https://svnweb.freebsd.org/changeset/base/294594
Log:
Remove printf only useful for debugging.
Requested by: bde
Sponsored by: The FreeBSD Foundation
MFC after: 3 weeks
Modified:
head/sys/dev/pty/pty.c
Modified: head/sys/dev/pty/pty.c
==============================================================================
--- head/sys/dev/pty/pty.c Fri Jan 22 20:10:08 2016 (r294593)
+++ head/sys/dev/pty/pty.c Fri Jan 22 20:28:24 2016 (r294594)
@@ -126,10 +126,8 @@ pty_clone(void *arg, struct ucred *cr, c
mda.mda_gid = GID_WHEEL;
mda.mda_mode = 0666;
error = make_dev_s(&mda, dev, "%s", name);
- if (error != 0) {
- printf("pty_clone: failed to create %s: %d\n", name, error);
+ if (error != 0)
*dev = NULL;
- }
}
static int
More information about the svn-src-head
mailing list