]> granicus.if.org Git - sudo/commitdiff
user version.h for long message
authorTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 17 Sep 1998 16:13:05 +0000 (16:13 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 17 Sep 1998 16:13:05 +0000 (16:13 +0000)
check.c

diff --git a/check.c b/check.c
index a9355830b78635dd988c12454f65544f655a6d42..f7a4b275dc0365ed02ef434ef553bc7d93b4d34a 100644 (file)
--- a/check.c
+++ b/check.c
@@ -66,6 +66,7 @@ static char rcsid[] = "$Id$";
 #include "sudo.h"
 #include <options.h>
 #include "insults.h"
+#include "version.h"
 #if (SHADOW_TYPE == SPW_SECUREWARE)
 #  ifdef __hpux
 #    include <hpsecurity.h>
@@ -947,9 +948,9 @@ static void reminder()
 #ifdef SHORT_MESSAGE
     (void) fprintf(stderr, "\n%s\n%s\n\n%s\n%s\n\n",
 #else
-    (void) fprintf(stderr, "\n%s\n%s\n%s\n%s\n\n%s\n%s\n\n%s\n%s\n\n",
-       "    CU sudo version 1.5.6, based on Root Group sudo version 1.1",
-       "    sudo version 1.1, Copyright (C) 1991 The Root Group, Inc.",
+    (void) fprintf(stderr, "\n%s%s%s\n%s\n%s\n%s\n\n%s\n%s\n\n%s\n%s\n\n",
+       "    CU sudo version ", version, ", based on Root Group sudo version 1.1",
+       "    sudo version 1.1 is Copyright (C) 1991 The Root Group, Inc.",
        "    sudo comes with ABSOLUTELY NO WARRANTY.  This is free software,",
        "    and you are welcome to redistribute it under certain conditions.",
 #endif