parameters is now args

This commit is contained in:
Laurent Vivier 2008-07-11 22:15:32 +00:00
parent 842b855232
commit c6cf5c371e
2 changed files with 3 additions and 3 deletions

View File

@ -38,7 +38,7 @@ int emile_second_get_param(int fd, char *kernel, char *parameters, char *initrd)
config_get_property(configuration, "kernel", kernel);
if (parameters != NULL)
config_get_property(configuration, "parameters", parameters);
config_get_property(configuration, "args", parameters);
if (initrd != NULL)
config_get_property(configuration, "initrd", initrd);

View File

@ -34,9 +34,9 @@ int emile_second_set_param(int fd, char *kernel, char *parameters, char *initrd)
if (parameters != NULL)
{
if (*parameters)
config_set_property(configuration, "parameters", parameters);
config_set_property(configuration, "args", parameters);
else
config_remove_property(configuration, "parameters");
config_remove_property(configuration, "args");
}
if (initrd != NULL)