]> granicus.if.org Git - sudo/commitdiff
add missing printf param
authorTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 9 Nov 1998 22:57:52 +0000 (22:57 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 9 Nov 1998 22:57:52 +0000 (22:57 +0000)
sudo.c

diff --git a/sudo.c b/sudo.c
index 01bc559ecb4468957908c823a4b909258c233260..ec249279e5a228368590e562a54c261831bcdfef 100644 (file)
--- a/sudo.c
+++ b/sudo.c
@@ -377,7 +377,7 @@ int main(argc, argv)
 
 #ifndef DONT_LEAK_PATH_INFO
            if (cmnd_status == NOT_FOUND_DOT)
-               (void) fprintf(stderr, "%s: ignoring %s found in '.'\nUse `sudo ./%s' if this is the %s you wish to run.\n", Argv[0], cmnd, cmnd);
+               (void) fprintf(stderr, "%s: ignoring %s found in '.'\nUse `sudo ./%s' if this is the %s you wish to run.\n", Argv[0], cmnd, cmnd, cmnd);
            else if (cmnd_status == NOT_FOUND)
                (void) fprintf(stderr, "%s: %s: command not found\n", Argv[0],
                    cmnd);