diff --git a/lustre/ptlrpc/import.c b/lustre/ptlrpc/import.c index 95bb787307..3b18d4a51f 100644 --- a/lustre/ptlrpc/import.c +++ b/lustre/ptlrpc/import.c @@ -859,16 +859,15 @@ static int ptlrpc_connect_set_flags(struct obd_import *imp, const char *newer = "newer than client. " "Consider upgrading client"; - LCONSOLE_WARN("Client version (%s). Server %s version (%d.%d.%d.%d) " - "is much %s\n", - LUSTRE_VERSION_STRING, + LCONSOLE_WARN("Server %s version (%d.%d.%d.%d) " + "is much %s (%s)\n", obd2cli_tgt(imp->imp_obd), OBD_OCD_VERSION_MAJOR(ocd->ocd_version), OBD_OCD_VERSION_MINOR(ocd->ocd_version), OBD_OCD_VERSION_PATCH(ocd->ocd_version), OBD_OCD_VERSION_FIX(ocd->ocd_version), ocd->ocd_version > LUSTRE_VERSION_CODE ? - newer : older); + newer : older, LUSTRE_VERSION_STRING); warned = true; }