From ae7a8f49785690bcf5b1132d946feb94b6761e2c Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Sat, 2 May 1998 18:16:03 +0000 Subject: [PATCH] fix some fprintf args, ariel@oz.engr.sgi.com (Ariel Faigon) --- visudo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/visudo.c b/visudo.c index af9964249..168e73ef6 100644 --- 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 {