mirror of
https://github.com/ipxe/ipxe
synced 2025-12-30 04:28:12 +03:00
[parseopt] Allow parsed option to be modified
Parsing a setting name requires the ability to modify the text being parsed. Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -39,7 +39,7 @@ FILE_LICENCE ( GPL2_OR_LATER );
|
||||
/** "img{single}" options */
|
||||
struct imgsingle_options {
|
||||
/** Image name */
|
||||
const char *name;
|
||||
char *name;
|
||||
/** Replace image */
|
||||
int replace;
|
||||
/** Free image after execution */
|
||||
|
||||
Reference in New Issue
Block a user