--- rssh_chroot_helper.c.orig +++ rssh_chroot_helper.c @@ -159,7 +159,7 @@ int main( int argc, char **argv ) opts.chroot_path = NULL; /* figure out our name, and give it to the log module */ - progname = strdup(log_make_ident(basename(argv[0]))); + progname = strdup(log_make_ident(argv[0])); /* get user's passwd info */ if ( (temp = getpwuid(getuid())) ){