Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/vacation Also fix the error message when -T is used ...



details:   https://anonhg.NetBSD.org/src/rev/1e13597d1429
branches:  trunk
changeset: 841253:1e13597d1429
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Sun May 05 23:08:37 2019 +0000

description:
Also fix the error message when -T is used with something other than A or D

diffstat:

 usr.bin/vacation/vacation.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 12eedb48d223 -r 1e13597d1429 usr.bin/vacation/vacation.c
--- a/usr.bin/vacation/vacation.c       Sun May 05 23:05:03 2019 +0000
+++ b/usr.bin/vacation/vacation.c       Sun May 05 23:08:37 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vacation.c,v 1.36 2008/07/21 14:19:27 lukem Exp $      */
+/*     $NetBSD: vacation.c,v 1.37 2019/05/05 23:08:37 pgoyette Exp $   */
 
 /*
  * Copyright (c) 1983, 1987, 1993
@@ -40,7 +40,7 @@
 #if 0
 static char sccsid[] = "@(#)vacation.c 8.2 (Berkeley) 1/26/94";
 #endif
-__RCSID("$NetBSD: vacation.c,v 1.36 2008/07/21 14:19:27 lukem Exp $");
+__RCSID("$NetBSD: vacation.c,v 1.37 2019/05/05 23:08:37 pgoyette Exp $");
 #endif /* not lint */
 
 /*
@@ -219,7 +219,7 @@
                                        tflag |= DELIVERED_TO;
                                        break;
                                default:
-                                       errx(1, "Unknown -t option `%c'", *p);
+                                       errx(1, "Unknown -T option `%c'", *p);
                                }
                        break;
                case '?':



Home | Main Index | Thread Index | Old Index