OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2013, Google, Inc. All rights reserved | 2 * Copyright (c) 2013, Google, Inc. All rights reserved |
3 * | 3 * |
4 * Permission is hereby granted, free of charge, to any person obtaining | 4 * Permission is hereby granted, free of charge, to any person obtaining |
5 * a copy of this software and associated documentation files | 5 * a copy of this software and associated documentation files |
6 * (the "Software"), to deal in the Software without restriction, | 6 * (the "Software"), to deal in the Software without restriction, |
7 * including without limitation the rights to use, copy, modify, merge, | 7 * including without limitation the rights to use, copy, modify, merge, |
8 * publish, distribute, sublicense, and/or sell copies of the Software, | 8 * publish, distribute, sublicense, and/or sell copies of the Software, |
9 * and to permit persons to whom the Software is furnished to do so, | 9 * and to permit persons to whom the Software is furnished to do so, |
10 * subject to the following conditions: | 10 * subject to the following conditions: |
(...skipping 691 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
702 } else if (err == ERR_NOT_ALLOWED) { | 702 } else if (err == ERR_NOT_ALLOWED) { |
703 printf("ERROR not allowed (locked)\n"); | 703 printf("ERROR not allowed (locked)\n"); |
704 } else { | 704 } else { |
705 printf("ERROR generic error %d\n", err); | 705 printf("ERROR generic error %d\n", err); |
706 } | 706 } |
707 | 707 |
708 return 0; | 708 return 0; |
709 } | 709 } |
710 | 710 |
711 STATIC_COMMAND_START | 711 STATIC_COMMAND_START |
712 { "sysparam", "commands for manipulating system parameters", &cmd_sysparam }, | 712 STATIC_COMMAND("sysparam", "commands for manipulating system parameters", &cmd_s
ysparam) |
713 STATIC_COMMAND_END(sysparam); | 713 STATIC_COMMAND_END(sysparam); |
714 | 714 |
715 #endif // WITH_LIB_CONSOLE | 715 #endif // WITH_LIB_CONSOLE |
OLD | NEW |