diff --git a/qa/qa_utils.py b/qa/qa_utils.py
index ed168bd49be076847445faf6387aa5304471f55a..774ccc9cecce33e528994ee6e74729f109861a3c 100644
--- a/qa/qa_utils.py
+++ b/qa/qa_utils.py
@@ -325,7 +325,7 @@ def GetCommandOutput(node, cmd, tty=None, fail=False):
   p = StartLocalCommand(GetSSHCommand(node, cmd, tty=tty),
                         stdout=subprocess.PIPE)
   rcode = p.wait()
-  _AssertRetCode(rcode, fail, node, cmd)
+  _AssertRetCode(rcode, fail, cmd, node)
   return p.stdout.read()