diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2012-09-20 16:50:32 +0200 |
---|---|---|
committer | Luiz Capitulino <lcapitulino@redhat.com> | 2012-09-26 12:42:19 -0300 |
commit | 9a3a88956c7f32130ad20011f7c3c161fa5876d8 (patch) | |
tree | cc67bd956555d12298fe7b1db2a1f564075bb0b9 /monitor.c | |
parent | 1057725f6629fc2771a294a92ce8eedb92c86fe8 (diff) |
pci-assign: use monitor_handle_fd_param
There is no need to open-code the choice between a file descriptor
number or a named one. Just use monitor_handle_fd_param, which
also takes care of printing the error message.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'monitor.c')
0 files changed, 0 insertions, 0 deletions