]> granicus.if.org Git - sudo/commitdiff
added set of parens and a space
authorTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 6 Dec 1995 00:02:13 +0000 (00:02 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 6 Dec 1995 00:02:13 +0000 (00:02 +0000)
sudo.c

diff --git a/sudo.c b/sudo.c
index 8e9f55392aae429446dad2b4138a3aaa58985b5b..73b39f780bd0fadee145d24792badec6cd208659 100644 (file)
--- a/sudo.c
+++ b/sudo.c
@@ -261,7 +261,7 @@ int main(argc, argv)
     add_env();                 /* add in SUDO_* envariables */
 
     /* validate the user but don't search for "validate" */
-    rtn = validate(sudo_mode != MODE_VALIDATE);
+    rtn = validate((sudo_mode != MODE_VALIDATE));
     switch (rtn) {
 
        case VALIDATE_OK:
@@ -282,7 +282,7 @@ int main(argc, argv)
                    struct stat st;
 
                    if (stat(cmnd, &st) < 0) {
-                       (void) fprintf(stderr, "%s: unable to stat %s:",
+                       (void) fprintf(stderr, "%s: unable to stat %s: ",
                                        Argv[0], cmnd);
                        perror("");
                        exit(1);