Fix -m switch
This commit is contained in:
parent
476a283fbd
commit
94feae28e3
@ -1,5 +1,9 @@
|
||||
Wed Feb 21 10:39:35 1996 Michael Meissner <meissner@tiktok.cygnus.com>
|
||||
|
||||
* psim.c (psim_options): Call device_add_string_property, not
|
||||
device_tree_add_parsed, since we want to add the model as a
|
||||
string, and 603/604 look like integers.
|
||||
|
||||
* emul_bugapi.c (emul_bugapi_create): Make formats type
|
||||
compatible.
|
||||
|
||||
|
@ -219,7 +219,7 @@ psim_options(device *root,
|
||||
break;
|
||||
case 'm':
|
||||
param = find_arg("Missing <model> option for -m\n", &argp, argv);
|
||||
device_tree_add_parsed(root, "/openprom/options/model %s", param);
|
||||
device_add_string_property(root, "/openprom/options/model", param);
|
||||
break;
|
||||
case 'o':
|
||||
param = find_arg("Missing <device> option for -o\n", &argp, argv);
|
||||
|
Loading…
x
Reference in New Issue
Block a user