Skip to content

Commit

Permalink
Have get-sysconf actually call sysconf()
Browse files Browse the repository at this point in the history
  • Loading branch information
steveyen committed Aug 31, 2011
1 parent 0c265c8 commit fa0067d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion get-sysconf.c
Expand Up @@ -6,6 +6,6 @@ int main(int argc, char **argv) {
if (argc > 1) {
n = atoi(argv[1]);
}
printf("%zd", n);
printf("%zd", sysconf(n));
return 0;
}

0 comments on commit fa0067d

Please sign in to comment.