summaryrefslogtreecommitdiff
path: root/src/user/app/prime
diff options
context:
space:
mode:
Diffstat (limited to 'src/user/app/prime')
-rw-r--r--src/user/app/prime/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/user/app/prime/main.c b/src/user/app/prime/main.c
index d3ebb7d..d9b60ab 100644
--- a/src/user/app/prime/main.c
+++ b/src/user/app/prime/main.c
@@ -8,7 +8,7 @@ int is_prime(int i) {
return 1;
}
-int main(char **args) {
+int main(int argc, char **args) {
int i;
for (i = 2; i < 1000000; i++) {
if (is_prime(i)) printf("%d\t", i);