Fix typo in ternary operator usage.

This commit is contained in:
Todd C. Miller
2010-06-01 09:44:54 -04:00
parent 9425527982
commit be3b7d615a
3 changed files with 3 additions and 3 deletions

View File

@@ -138,7 +138,7 @@ main(int argc, char *argv[])
#endif
#if !defined(HAVE_GETPROGNAME) && !defined(HAVE___PROGNAME)
setprogname(argc > 0 argv[0] ? "testsudoers");
setprogname(argc > 0 ? argv[0] : "testsudoers");
#endif
dflag = 0;