diff --git a/src/sbbs3/delfiles.c b/src/sbbs3/delfiles.c
index c75622d5b7c208c3d0b1a42d289104440193b227..a907fb7f8b863685cd4eac88da881b2ec485d44d 100644
--- a/src/sbbs3/delfiles.c
+++ b/src/sbbs3/delfiles.c
@@ -211,7 +211,7 @@ int main(int argc, char **argv)
 					/* strupr(str); */
 					if(!findfile(&cfg, i,str)) {
 						sprintf(str,"%s%s",tmp,gl.gl_pathv[j]);
-						printf("Removing %s (not in database)\n",gl.gl_pathv);
+						printf("Removing %s (not in database)\n",gl.gl_pathv[j]);
 						if(!(misc&REPORT) && remove(str))
 							printf("Error removing %s\n",str); } } }
 			globfree(&gl);