summaryrefslogtreecommitdiff
path: root/pinyweb/suid/piny-suid.c
diff options
context:
space:
mode:
authorJulian Blake Kongslie <jblake@omgwallhack.org>2010-12-28 02:59:10 -0800
committerJulian Blake Kongslie <jblake@omgwallhack.org>2010-12-28 02:59:10 -0800
commitd8f1ccf07542579f6e2398c979f094abf1870e1a (patch)
tree6bfdf690696fbc1498eeaaf3272c23a08b2a98d8 /pinyweb/suid/piny-suid.c
parent3764c43e4c01c7c2b33d591c743e16a8a38aee76 (diff)
downloadpiny-code-d8f1ccf07542579f6e2398c979f094abf1870e1a.tar.gz
piny-code-d8f1ccf07542579f6e2398c979f094abf1870e1a.zip
another error message
Diffstat (limited to 'pinyweb/suid/piny-suid.c')
-rw-r--r--pinyweb/suid/piny-suid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pinyweb/suid/piny-suid.c b/pinyweb/suid/piny-suid.c
index b92ee5f..cbbb7f1 100644
--- a/pinyweb/suid/piny-suid.c
+++ b/pinyweb/suid/piny-suid.c
@@ -115,7 +115,7 @@ int main( int argc, char *argv[] ) {
execve( buf, argv + 2, env );
err = errno;
- syslog( LOG_ERR, "Invalid command '%s' (fell past exec, %s)", argv[2], strerror( err ) );
+ syslog( LOG_ERR, "Invalid command '%s' (fell past exec, %s)", buf, strerror( err ) );
fprintf( stderr, "'%s' does not appear to be a valid command!\n", argv[2] );
return 1;