| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2013 Google, Inc. | 2 * Copyright (c) 2013 Google, Inc. |
| 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 591 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 602 printf("vec %d: base %p, len %zu\n", 1, vec[1].iov_base, vec[1].iov_len)
; | 602 printf("vec %d: base %p, len %zu\n", 1, vec[1].iov_base, vec[1].iov_len)
; |
| 603 } else { | 603 } else { |
| 604 printf("ERROR unknown command\n"); | 604 printf("ERROR unknown command\n"); |
| 605 goto usage; | 605 goto usage; |
| 606 } | 606 } |
| 607 | 607 |
| 608 return 0; | 608 return 0; |
| 609 } | 609 } |
| 610 | 610 |
| 611 STATIC_COMMAND_START | 611 STATIC_COMMAND_START |
| 612 { "klog", "commands for manipulating klog", &cmd_klog }, | 612 STATIC_COMMAND("klog", "commands for manipulating klog", &cmd_klog) |
| 613 STATIC_COMMAND_END(klog); | 613 STATIC_COMMAND_END(klog); |
| 614 | 614 |
| 615 #endif // WITH_LIB_CONSOLE | 615 #endif // WITH_LIB_CONSOLE |
| 616 | 616 |
| OLD | NEW |