From d8db1f66461d0429d636a70d47793caeabfe23fe Mon Sep 17 00:00:00 2001 From: Stathis Kamperis Date: Fri, 11 Jan 2008 20:12:21 +0100 Subject: [PATCH] More verbose printf() output --- homework/bitmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homework/bitmap.c b/homework/bitmap.c index eec9637..92f4064 100644 --- a/homework/bitmap.c +++ b/homework/bitmap.c @@ -25,7 +25,7 @@ int main(int argc, char *argv[]) narr = nblks / CHAR_BIT; else narr = nblks / CHAR_BIT + 1; - printf("nblks = %u\tnarr = %u\n", nblks, narr); + printf("Requested nblks = %u\tAllocating narr = %u chars\n", nblks, narr); /* Allocate memory for char bitmap */ array = malloc(narr); -- 2.11.4.GIT