Fixed incorrect parameter order in function call.

Change-Id: Icebc0b7e3a098bfc5a18bee9f0603128084d552d