Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Jan 2016 20:28:24 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r294594 - head/sys/dev/pty
Message-ID:  <201601222028.u0MKSOQc011368@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601222028.u0MKSOQc011368>