From 0aac3374350b8a2ea27bd1f0dcedde6869bbc19e Mon Sep 17 00:00:00 2001 From: jkh Date: Sat, 21 Oct 1995 20:03:07 +0000 Subject: [PATCH] Error message reform. Make an unnecessarily fatal error a warning. --- release/sysinstall/package.c | 4 ++-- usr.sbin/sysinstall/package.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/release/sysinstall/package.c b/release/sysinstall/package.c index 9c3100414cc5..f72813a3f0bc 100644 --- a/release/sysinstall/package.c +++ b/release/sysinstall/package.c @@ -4,7 +4,7 @@ * This is probably the last program in the `sysinstall' line - the next * generation being essentially a complete rewrite. * - * $Id: package.c,v 1.6 1995/10/20 21:57:23 jkh Exp $ + * $Id: package.c,v 1.7 1995/10/20 22:36:06 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -103,7 +103,7 @@ package_extract(Device *dev, char *name) close(fd); } if (chdir(where) == -1) - msgFatal("Unable to get back to where I was before, Jojo!\n(That was: %s)\n", where); + msgFatal("Unable to get back to where I was before, Jojo! (That was: %s)", where); vsystem("rm -rf %s", pen); if (isDebug()) msgDebug("Nuked pen: %s\n", pen); diff --git a/usr.sbin/sysinstall/package.c b/usr.sbin/sysinstall/package.c index 9c3100414cc5..f72813a3f0bc 100644 --- a/usr.sbin/sysinstall/package.c +++ b/usr.sbin/sysinstall/package.c @@ -4,7 +4,7 @@ * This is probably the last program in the `sysinstall' line - the next * generation being essentially a complete rewrite. * - * $Id: package.c,v 1.6 1995/10/20 21:57:23 jkh Exp $ + * $Id: package.c,v 1.7 1995/10/20 22:36:06 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -103,7 +103,7 @@ package_extract(Device *dev, char *name) close(fd); } if (chdir(where) == -1) - msgFatal("Unable to get back to where I was before, Jojo!\n(That was: %s)\n", where); + msgFatal("Unable to get back to where I was before, Jojo! (That was: %s)", where); vsystem("rm -rf %s", pen); if (isDebug()) msgDebug("Nuked pen: %s\n", pen);