From c1384518fad2fc929083face1ca8ada3090e83c7 Mon Sep 17 00:00:00 2001 From: Josef 'Jeff' Sipek Date: Thu, 8 Dec 2011 22:36:43 -0500 Subject: [PATCH] cp: attach operator's console to *LOGIN before IPLing it Signed-off-by: Josef 'Jeff' Sipek --- cp/nucleus/init.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/cp/nucleus/init.c b/cp/nucleus/init.c index ec2a710..12fc558 100644 --- a/cp/nucleus/init.c +++ b/cp/nucleus/init.c @@ -127,16 +127,16 @@ static int __finish_loading(void *data) goto die; } - ret = guest_ipl_nss(login, "login"); + /* attach the operator rdev to *LOGIN, any available vdev */ + ret = guest_attach(login, sysconf.oper_con, -1); if (ret) { - err = "failed to IPL NSS"; + err = "failed to attach operator console"; goto die; } - /* attach the operator rdev to *LOGIN, any available vdev */ - ret = guest_attach(login, sysconf.oper_con, -1); + ret = guest_ipl_nss(login, "login"); if (ret) { - err = "failed to attach operator console"; + err = "failed to IPL NSS"; goto die; } -- 2.11.4.GIT