From 1e45c0061b033d0d98ea63fca5a03b4f86cdd8e1 Mon Sep 17 00:00:00 2001 From: deraadt Date: Fri, 15 Dec 1995 18:54:35 +0000 Subject: [PATCH] for orphaned devices, print the parent that cannot be found; from banshee@gabriella.resort.com; netbsd pr#1800 --- usr.sbin/config/main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/usr.sbin/config/main.c b/usr.sbin/config/main.c index f457fd8edcc..0830434a5ce 100644 --- a/usr.sbin/config/main.c +++ b/usr.sbin/config/main.c @@ -40,7 +40,7 @@ * SUCH DAMAGE. * * from: @(#)main.c 8.1 (Berkeley) 6/6/93 - * $Id: main.c,v 1.1.1.1 1995/10/18 08:48:33 deraadt Exp $ + * $Id: main.c,v 1.2 1995/12/15 18:54:35 deraadt Exp $ */ #ifndef lint @@ -428,8 +428,8 @@ crosscheck() xerror(conffile, i->i_lineno, "%s at %s is orphaned", i->i_name, i->i_at); if (i->i_atunit == WILD) - (void)fprintf(stderr, " (no %s's declared)\n", - i->i_base->d_name); + (void)fprintf(stderr, " (no %s declared)\n", + i->i_at); else (void)fprintf(stderr, " (no %s declared)\n", i->i_at); errs++; -- 2.20.1