Correct variable typo in auto.cpp
(cherry picked from commit 788a4a6bc6079df99206d7cc2c218ebf5364afaf)