diff --git a/exec/logon.js b/exec/logon.js
index ec4e1544e0633e446233dea66ffb16c90cd7bbee..30c76407837946c16c45552692ee9ede555c1849 100644
--- a/exec/logon.js
+++ b/exec/logon.js
@@ -93,7 +93,7 @@ if(file_size(logonlst)<1)
 	printf("\1n\1g\1hYou are the first caller of the day!\r\n");
 else {
 	printf("\1n\1g\1hLast few callers:\1n\r\n");
-	console.printtail(logonlst,P_NOATCODES,4);
+	console.printtail(logonlst,4,P_NOATCODES);	// args: filename, lines, mode
 }
 console.crlf();