summaryrefslogtreecommitdiff
path: root/payloads/libpayload/libc/args.c
diff options
context:
space:
mode:
Diffstat (limited to 'payloads/libpayload/libc/args.c')
-rw-r--r--payloads/libpayload/libc/args.c4
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')