]> granicus.if.org Git - sudo/commitdiff
Minor cosmetic change
authorTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 28 Mar 2013 18:25:24 +0000 (14:25 -0400)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 28 Mar 2013 18:25:24 +0000 (14:25 -0400)
plugins/sudoers/sudoers.c

index 1554122b0af746961e37828a8f5ba1b8ebd13947..821f4e9ce28610e5d688e2ef8ff9cdfa690e263a 100644 (file)
@@ -403,7 +403,8 @@ sudoers_policy_main(int argc, char * const argv[], int pwflag, char *env_add[],
 
     if (ISSET(sudo_mode, (MODE_RUN | MODE_EDIT))) {
        if ((def_log_input || def_log_output) && def_iolog_file && def_iolog_dir) {
-           iolog_path = expand_iolog_path("iolog_path=", def_iolog_dir,
+           const char prefix[] = "iolog_path=";
+           iolog_path = expand_iolog_path(prefix, def_iolog_dir,
                def_iolog_file, &sudo_user.iolog_file);
            sudo_user.iolog_file++;
        }