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

Commit

Permalink
Merge pull request #57 from edrdo/master
Browse files Browse the repository at this point in the history
Small fix: should be argv[0] not argv[1]
  • Loading branch information
misc0110 authored Jan 3, 2019
2 parents 5bf2c57 + 6e14a27 commit f4f636d
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 f4f636d

Please sign in to comment.