diff --git a/CHANGELOG b/CHANGELOG index d23740e..790d762 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -22,3 +22,4 @@ Change Log - v0.5: Minor Changes - Use `size_t' instead of `unsigned long long int'. - Minor optimizations to the algorithm. + - Added commandline argument parsing. diff --git a/src/main.c b/src/main.c index 8affedb..96ccdf5 100644 --- a/src/main.c +++ b/src/main.c @@ -65,7 +65,7 @@ nextPrime: mpz_add_ui(num, num, 2); } while(run); - printf("Found %zu primes\n", primes.end); + printf("Found %zu primes.\n", primes.end); puts("Clearing memory..."); // Clear GMP variables mpz_clear(halfNum);