diff --git a/src/sbbs3/sbbsecho.c b/src/sbbs3/sbbsecho.c
index b853755df0537a62c237b5109ad0a42f12d0d156..b556e05ea7b8210a083680fb020e4de5da88c5b8 100644
--- a/src/sbbs3/sbbsecho.c
+++ b/src/sbbs3/sbbsecho.c
@@ -4419,7 +4419,7 @@ void find_stray_packets(void)
 
 		printf("%21s: %s ","Stray Outbound Packet", packet);
 
-		if((fp=fopen(path,"rb"))==NULL) {
+		if((fp=fopen(packet,"rb"))==NULL) {
 			lprintf(LOG_ERR,"ERROR %u (%s) opening stray packet: %s"
 				,errno, strerror(errno), packet);
 			continue;