SPARC: Fixing a minor copy-paste bug using the wrong variable