]> granicus.if.org Git - sudo/commitdiff
fix some fprintf args, ariel@oz.engr.sgi.com (Ariel Faigon)
authorTodd C. Miller <Todd.Miller@courtesan.com>
Sat, 2 May 1998 18:16:03 +0000 (18:16 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Sat, 2 May 1998 18:16:03 +0000 (18:16 +0000)
visudo.c

index af9964249e9ba72e04165c9a3d215de093c2677c..168e73ef68151fefcdefc0c677eeab32870d45f6 100644 (file)
--- a/visudo.c
+++ b/visudo.c
@@ -222,7 +222,7 @@ int main(argc, argv)
         */
        if (strlen(Editor) + strlen(stmp) + 30 > sizeof(buf)) {
            (void) fprintf(stderr, "%s: Buffer too short (line %d).\n",
-                          __LINE__, Argv[0]);
+                          Argv[0], __LINE__);
            Exit(-1);
        }
        if (parse_error == TRUE)
@@ -274,7 +274,7 @@ int main(argc, argv)
            if (yyparse() && parse_error != TRUE) {
                (void) fprintf(stderr,
                    "%s: Failed to parse temporary file (%s), unknown error.\n",
-                   Argv[0], stmp, sudoers);
+                   Argv[0], stmp);
                parse_error = TRUE;
            }
        } else {