Changeset f31ca47 in mainline


Ignore:
Timestamp:
2019-06-15T08:53:36Z (6 years ago)
Author:
Matthieu Riolo <matthieu.riolo@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
aa3ca1e
Parents:
ab936440
Message:

correcting typo in alias

a function was wrongly called "valide_name" instead of "validate_name"

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/bdsh/cmds/modules/alias/alias.c

    rab936440 rf31ca47  
    8484}
    8585
    86 static bool valide_name(const char *name)
     86static bool validate_name(const char *name)
    8787{
    8888        while (*name != '\0') {
     
    135135                if ((value = str_chr(name, '=')) != NULL) {
    136136                        name[value - name] = '\0';
    137                         if (!valide_name(name)) {
     137                        if (!validate_name(name)) {
    138138                                cli_error(CL_EFAIL, "%s: invalid alias name given\n", cmdname);
    139139                                free(name);
Note: See TracChangeset for help on using the changeset viewer.