Module Name:    src
Committed By:   pgoyette
Date:           Sun May  5 23:08:37 UTC 2019

Modified Files:
        src/usr.bin/vacation: vacation.c

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


To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 src/usr.bin/vacation/vacation.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.bin/vacation/vacation.c
diff -u src/usr.bin/vacation/vacation.c:1.36 src/usr.bin/vacation/vacation.c:1.37
--- src/usr.bin/vacation/vacation.c:1.36	Mon Jul 21 14:19:27 2008
+++ src/usr.bin/vacation/vacation.c	Sun May  5 23:08:37 2019
@@ -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 @@ __COPYRIGHT("@(#) Copyright (c) 1983, 19
 #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 @@ main(int argc, char **argv)
 					tflag |= DELIVERED_TO;
 					break;
 				default:
-					errx(1, "Unknown -t option `%c'", *p);
+					errx(1, "Unknown -T option `%c'", *p);
 				}
 			break;
 		case '?':

Reply via email to