From 40b44cbcdfdfb6528d28ee4a14e1334750d594cb Mon Sep 17 00:00:00 2001 From: hjp Date: Sun, 2 Aug 1998 14:05:42 +0000 Subject: [PATCH] Fixed GNUmakefile. long is "%ld"! --- count/GNUmakefile | 4 ++-- count/count.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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; }