Skip to content
Snippets Groups Projects
Commit 9f2f0bc6 authored by Blue Swirl's avatar Blue Swirl Committed by Anthony Liguori
Browse files

Fix device name completion for 'eject'

parent 52668cf7
No related branches found
No related tags found
No related merge requests found
......@@ -3059,6 +3059,9 @@ static void monitor_find_completion(const char *cmdline)
}
}
str = args[nb_args - 1];
if (*ptype == '-' && ptype[1] != '\0') {
ptype += 2;
}
switch(*ptype) {
case 'F':
/* file completion */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment