projects
/
debian
/
sudo
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Imported Upstream version 1.8.3
[debian/sudo]
/
plugins
/
sudoers
/
regress
/
iolog_path
/
check_iolog_path.c
diff --git
a/plugins/sudoers/regress/iolog_path/check_iolog_path.c
b/plugins/sudoers/regress/iolog_path/check_iolog_path.c
index cef22ffabde19f9e0df8fd0a9b0823ca0d5599bf..036d86a71a94346ca8438dbff53a69cc94bfbbe3 100644
(file)
--- a/
plugins/sudoers/regress/iolog_path/check_iolog_path.c
+++ b/
plugins/sudoers/regress/iolog_path/check_iolog_path.c
@@
-105,6
+105,10
@@
main(int argc, char *argv[])
int errors = 0;
int tests = 0;
+#if !defined(HAVE_GETPROGNAME) && !defined(HAVE___PROGNAME)
+ setprogname(argc > 0 ? argv[0] : "check_iolog_path");
+#endif
+
if (argc != 2)
usage();