qga/commands-posix: fix typo in qmp_guest_set_user_password
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 3 May 2024 17:13:03 +0000 (19:13 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 3 May 2024 17:36:51 +0000 (19:36 +0200)
commitdeb686ef0e609ceaec0daa5dc88eb5b3dd9701b0
tree41592ab7cc90d995a2d1b21bfdffe2fec9ab8a1b
parent9608723abb11b2cf81cdaa33e13cc888c1d9fe85
qga/commands-posix: fix typo in qmp_guest_set_user_password

qga/commands-posix.c does not compile on FreeBSD due to a confusion
between "chpasswdata" (wrong) and "chpasswddata" (used in the #else
branch).

Fixes: 0e5b75a390 ("qga/commands-posix: qmp_guest_set_user_password: use ga_run_command helper")
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
qga/commands-posix.c