diff --git a/src/plugins/switch/switch_elan.c b/src/plugins/switch/switch_elan.c
index 97f85ed254ace572850874cfa3b4bf44f5c96537..8df108690e1e3a997ef347ef082b8fe2314b5f75 100644
--- a/src/plugins/switch/switch_elan.c
+++ b/src/plugins/switch/switch_elan.c
@@ -587,7 +587,7 @@ int switch_p_job_init ( switch_jobinfo_t jobinfo, uid_t uid )
 {
 	char buf[4096];
 
-	debug2("calling interconnect_init from process %lu", 
+	debug2("calling qsw_prog_init from process %lu", 
 		(unsigned long) getpid());
 	verbose("ELAN: %s", qsw_capability_string(
 		(qsw_jobinfo_t)jobinfo, buf, 4096));
@@ -601,7 +601,7 @@ int switch_p_job_init ( switch_jobinfo_t jobinfo, uid_t uid )
 			error("Initializing interconnect: "
 			      "is the rms kernel module loaded?");
 		else
-			error ("elan_interconnect_init: %m");
+			error ("qsw_prog_init: %m");
 
 		qsw_print_jobinfo(log_fp(), (qsw_jobinfo_t)jobinfo);
 		return SLURM_ERROR;