From 160402ea42a6c83346f529e0768952bd32cc3dcc Mon Sep 17 00:00:00 2001
From: Leigh B Stoller <stoller@flux.utah.edu>
Date: Thu, 14 Aug 2014 13:09:48 -0600
Subject: [PATCH] Minor bug fix.

---
 tmcd/tmcd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tmcd/tmcd.c b/tmcd/tmcd.c
index 047c7ac29e..09e8cddd78 100644
--- a/tmcd/tmcd.c
+++ b/tmcd/tmcd.c
@@ -10809,7 +10809,7 @@ COMMAND_PROTOTYPE(doarpinfo)
 			"left join nodes as np on np.node_id=n.phys_nodeid "
 			"left join os_info as o on o.osid=np.def_boot_osid "
 			 "left join os_info_versions as ov on "
-			 "     ov.osid=i.default_osid and ov.vers=o.version "
+			 "     ov.osid=o.osid and ov.vers=o.version "
 			"left join reserved as rp on rp.node_id=n.phys_nodeid "
 			"left join interfaces as ip on "
 			"     ip.node_id=rp.node_id and ip.role='ctrl' "
-- 
GitLab