diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2020-02-15 09:27:11 +0100 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2020-02-17 16:01:50 +0000 |
commit | 824b4b8a2038e91d008ac60919fbc742c3facc61 (patch) | |
tree | c92e2311f426e618ee992459b03af3bc6112e233 /payloads/libpayload/libc/args.c | |
parent | 9c26605353873165805ce611d93e259a8545853e (diff) | |
download | coreboot-824b4b8a2038e91d008ac60919fbc742c3facc61.tar.xz |
payloads: Fix typos
Change-Id: Ib7f1ba1766e5c972542ce7571a8aa3583c513823
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/38911
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'payloads/libpayload/libc/args.c')
-rw-r--r-- | payloads/libpayload/libc/args.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/payloads/libpayload/libc/args.c b/payloads/libpayload/libc/args.c index 663d767dc5..3839c629af 100644 --- a/payloads/libpayload/libc/args.c +++ b/payloads/libpayload/libc/args.c @@ -52,7 +52,7 @@ int string_argc; * * @param caller to be used as argv[0] (may be NULL to ignore) * @param string to process - * @return 0 if no error occured. + * @return 0 if no error occurred. */ int string_to_args(char *caller, char *string) { @@ -66,7 +66,7 @@ int string_to_args(char *caller, char *string) /* Terminate if the string ends */ while (string && *string) { - /* whitespace occured? */ + /* whitespace occurred? */ if ((*string == ' ') || (*string == '\t')) { /* skip all whitespace (and null it) */ while (*string == ' ' || *string == '\t') |