Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/bin/sh Add '\n' to "fork failed" trace messages.
details: https://anonhg.NetBSD.org/src/rev/c7570c57187a
branches: trunk
changeset: 555316:c7570c57187a
user: dsl <dsl%NetBSD.org@localhost>
date: Fri Nov 14 10:27:10 2003 +0000
description:
Add '\n' to "fork failed" trace messages.
diffstat:
bin/sh/eval.c | 6 +++---
bin/sh/jobs.c | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
diffs (54 lines):
diff -r 13edb6b8026d -r c7570c57187a bin/sh/eval.c
--- a/bin/sh/eval.c Fri Nov 14 08:33:36 2003 +0000
+++ b/bin/sh/eval.c Fri Nov 14 10:27:10 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: eval.c,v 1.74 2003/08/07 09:05:30 agc Exp $ */
+/* $NetBSD: eval.c,v 1.75 2003/11/14 10:27:10 dsl Exp $ */
/*-
* Copyright (c) 1993
@@ -37,7 +37,7 @@
#if 0
static char sccsid[] = "@(#)eval.c 8.9 (Berkeley) 6/8/95";
#else
-__RCSID("$NetBSD: eval.c,v 1.74 2003/08/07 09:05:30 agc Exp $");
+__RCSID("$NetBSD: eval.c,v 1.75 2003/11/14 10:27:10 dsl Exp $");
#endif
#endif /* not lint */
@@ -816,7 +816,7 @@
vforked = 1;
switch (pid = vfork()) {
case -1:
- TRACE(("Vfork failed, errno=%d", errno));
+ TRACE(("Vfork failed, errno=%d\n", errno));
INTON;
error("Cannot vfork");
break;
diff -r 13edb6b8026d -r c7570c57187a bin/sh/jobs.c
--- a/bin/sh/jobs.c Fri Nov 14 08:33:36 2003 +0000
+++ b/bin/sh/jobs.c Fri Nov 14 10:27:10 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: jobs.c,v 1.59 2003/08/26 18:12:33 jmmv Exp $ */
+/* $NetBSD: jobs.c,v 1.60 2003/11/14 10:27:10 dsl Exp $ */
/*-
* Copyright (c) 1991, 1993
@@ -37,7 +37,7 @@
#if 0
static char sccsid[] = "@(#)jobs.c 8.5 (Berkeley) 5/4/95";
#else
-__RCSID("$NetBSD: jobs.c,v 1.59 2003/08/26 18:12:33 jmmv Exp $");
+__RCSID("$NetBSD: jobs.c,v 1.60 2003/11/14 10:27:10 dsl Exp $");
#endif
#endif /* not lint */
@@ -842,7 +842,7 @@
TRACE(("forkshell(%%%d, %p, %d) called\n", jp - jobtab, n, mode));
switch ((pid = fork())) {
case -1:
- TRACE(("Fork failed, errno=%d", errno));
+ TRACE(("Fork failed, errno=%d\n", errno));
INTON;
error("Cannot fork");
break;
Home |
Main Index |
Thread Index |
Old Index