mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
Remove printf only useful for debugging.
Requested by: bde Sponsored by: The FreeBSD Foundation MFC after: 3 weeks
This commit is contained in:
parent
a9bdd616f9
commit
be62a642f2
1 changed files with 1 additions and 3 deletions
|
|
@ -126,10 +126,8 @@ pty_clone(void *arg, struct ucred *cr, char *name, int namelen,
|
|||
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
|
||||
|
|
|
|||
Loading…
Reference in a new issue