diff --git a/html/ops/delete_spammers.php b/html/ops/delete_spammers.php
index 234e19643e..e451df94cd 100755
--- a/html/ops/delete_spammers.php
+++ b/html/ops/delete_spammers.php
@@ -144,7 +144,7 @@ function delete_profiles() {
if (has_link($p->response1) || has_link($p->response2)) {
$user = BoincUser::lookup_id($p->userid);
if (!$user) {
- echo "profile has missing user: %p->userid\n";
+ echo "profile has missing user: $p->userid\n";
continue;
}