From: Thibault Godouet Date: Tue, 10 Jul 2001 14:49:52 +0000 (+0000) Subject: bug corrected : user instead of filename X-Git-Tag: ver2_9_4~281 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e327ee86f31f4ad7609f721690b88fb8a18913b9;p=thirdparty%2Ffcron.git bug corrected : user instead of filename --- diff --git a/fcrontab.c b/fcrontab.c index 40dad31..f0f420d 100644 --- a/fcrontab.c +++ b/fcrontab.c @@ -22,7 +22,7 @@ * `LICENSE' that comes with the fcron source distribution. */ - /* $Id: fcrontab.c,v 1.44 2001-07-10 12:03:48 thib Exp $ */ + /* $Id: fcrontab.c,v 1.45 2001-07-10 14:49:52 thib Exp $ */ /* * The goal of this program is simple : giving a user interface to fcron @@ -42,7 +42,7 @@ #include "fcrontab.h" -char rcs_info[] = "$Id: fcrontab.c,v 1.44 2001-07-10 12:03:48 thib Exp $"; +char rcs_info[] = "$Id: fcrontab.c,v 1.45 2001-07-10 14:49:52 thib Exp $"; void info(void); void usage(void); @@ -576,7 +576,7 @@ reinstall(char *buf) if ( (i = open(buf, O_RDONLY)) < 0) { if ( errno == ENOENT ) { fprintf(stderr, "Could not reinstall: user %s has no fcrontab\n", - buf); + user); } else fprintf(stderr, "Could not open \"%s\": %s\n", buf,