2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-31 06:15:37 +00:00

added set of parens and a space

This commit is contained in:
Todd C. Miller
1995-12-06 00:02:13 +00:00
parent c8b4baceea
commit 1d04bad9ca

4
sudo.c
View File

@@ -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);