diff --git a/count/GNUmakefile b/count/GNUmakefile index 07c6747..16c1cfc 100644 --- a/count/GNUmakefile +++ b/count/GNUmakefile @@ -1,9 +1,9 @@ include GNUmakerules include GNUmakevars -acctfix: +count: -install: $(ROOT)/usr/local/bin/count $(ROOT)/usr/local/man/man8/count.8 +install: $(ROOT)/usr/local/bin/count install_all: $(MAKE) install ROOT=/nfs/wsrdb diff --git a/count/count.c b/count/count.c index b8246b5..f77025d 100644 --- a/count/count.c +++ b/count/count.c @@ -24,7 +24,7 @@ int main(int argc, char **argv) { } for (i = start; i < stop; i++) { - printf("%d\n", i); + printf("%ld\n", i); } return 0; }