Skip to content
This repository was archived by the owner on Oct 1, 2022. It is now read-only.

Commit

Permalink
Small fix: should be argv[0] not argv[1]
Browse files Browse the repository at this point in the history
  • Loading branch information
edrdo committed Dec 24, 2018
1 parent 5bf2c57 commit 6e14a27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion memory_filler.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const char *strings[] = {

int main(int argc, char *argv[]) {
if (argc != 2) {
printf("Usage: %s <gigabytes to fill>\n", argv[1]);
printf("Usage: %s <gigabytes to fill>\n", argv[0]);
return 0;
}

Expand Down

0 comments on commit 6e14a27

Please sign in to comment.