mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-01-28 19:29:20 +00:00
virtwl: Fix wayland-dmabuf argument typo.
Remove "enable-" prefix from wayland-dmabuf argument. This prefix is not used when specifying the argument in run_vm. BUG=chromium:837209 TEST=crosvm usage output matches what is a valid argument Change-Id: Ib9402842c6ce58b4b3d1646c0df3acb5c5de4b0c Reviewed-on: https://chromium-review.googlesource.com/1064725 Commit-Ready: David Reveman <reveman@chromium.org> Tested-by: David Reveman <reveman@chromium.org> Reviewed-by: Zach Reizner <zachr@chromium.org>
This commit is contained in:
parent
10668e6387
commit
f0656b661c
1 changed files with 2 additions and 2 deletions
|
@ -274,9 +274,9 @@ fn set_argument(cfg: &mut Config, name: &str, value: Option<&str>) -> argument::
|
|||
cfg.wayland_socket_path = Some(wayland_socket_path);
|
||||
}
|
||||
#[cfg(feature = "wl-dmabuf")]
|
||||
"enable-wayland-dmabuf" => {
|
||||
"wayland-dmabuf" => {
|
||||
cfg.wayland_dmabuf = true
|
||||
},
|
||||
}
|
||||
"socket" => {
|
||||
if cfg.socket_path.is_some() {
|
||||
return Err(argument::Error::TooManyArguments("`socket` already given".to_owned()));
|
||||
|
|
Loading…
Reference in a new issue