From d8f1ccf07542579f6e2398c979f094abf1870e1a Mon Sep 17 00:00:00 2001 From: Julian Blake Kongslie Date: Tue, 28 Dec 2010 02:59:10 -0800 Subject: another error message --- pinyweb/debian/changelog | 6 ++++++ pinyweb/suid/piny-suid.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'pinyweb') diff --git a/pinyweb/debian/changelog b/pinyweb/debian/changelog index 8d7281a..72fb23b 100644 --- a/pinyweb/debian/changelog +++ b/pinyweb/debian/changelog @@ -1,3 +1,9 @@ +pinyweb (0.6) unstable; urgency=low + + * and more errors + + -- Julian Blake Kongslie Tue, 28 Dec 2010 02:59:02 -0800 + pinyweb (0.5) unstable; urgency=low * Another error message improvement. 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; -- cgit v1.2.3