small change for function syntax error

Signed-off-by: Li Wang <liwan@redhat.com>