Permalink
Browse files

This should be printfd

  • Loading branch information...
1 parent a4ccf31 commit 032d574775f5f07a45285493d4933a22c6a8ecac Alyx committed Apr 17, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 procmon
View
@@ -43,7 +43,7 @@ sub checkproc {
unless ($p->uid ~~ @authorised) {
if ($p->cmndline =~ /$REGEX/) {
kill(9, $p->pid);
- print $logfile "Killed: $p->cmdline ran by: $p->uid\n";
+ printf $logfile "Killed: %s ran by: %s\n", $p->cmdline, $p->uid;
}
}
}

0 comments on commit 032d574

Please sign in to comment.