aboutsummaryrefslogtreecommitdiff
path: root/libobjc/sendmsg.c
diff options
context:
space:
mode:
authorJoseph Myers <jsm28@cam.ac.uk>2001-01-12 00:30:53 +0000
committerJoseph Myers <jsm28@gcc.gnu.org>2001-01-12 00:30:53 +0000
commit0fc39d8ad7294b568c61c76dca2d9ee860ab3526 (patch)
treec7093d46e6375c1dfb061955c4b37602c9d425b5 /libobjc/sendmsg.c
parent9a9157721d36581d9b939ce2c03f9c7cb15f8f5d (diff)
downloadgcc-0fc39d8ad7294b568c61c76dca2d9ee860ab3526.zip
gcc-0fc39d8ad7294b568c61c76dca2d9ee860ab3526.tar.gz
gcc-0fc39d8ad7294b568c61c76dca2d9ee860ab3526.tar.bz2
sendmsg.c (__objc_print_dtable_stats): Don't use #ifdef inside printf.
* sendmsg.c (__objc_print_dtable_stats): Don't use #ifdef inside printf. From-SVN: r38931
Diffstat (limited to 'libobjc/sendmsg.c')
-rw-r--r--libobjc/sendmsg.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/libobjc/sendmsg.c b/libobjc/sendmsg.c
index b743829..a0c8c30 100644
--- a/libobjc/sendmsg.c
+++ b/libobjc/sendmsg.c
@@ -1,5 +1,6 @@
/* GNU Objective C Runtime message lookup
- Copyright (C) 1993, 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
+ Copyright (C) 1993, 1995, 1996, 1997, 1998,
+ 2001 Free Software Foundation, Inc.
Contributed by Kresten Krab Thorup
This file is part of GNU CC.
@@ -628,13 +629,11 @@ __objc_print_dtable_stats()
objc_mutex_lock(__objc_runtime_mutex);
- printf("memory usage: (%s)\n",
#ifdef OBJC_SPARSE2
- "2-level sparse arrays"
+ printf("memory usage: (%s)\n", "2-level sparse arrays");
#else
- "3-level sparse arrays"
+ printf("memory usage: (%s)\n", "3-level sparse arrays");
#endif
- );
printf("arrays: %d = %ld bytes\n", narrays,
(long)narrays*sizeof(struct sarray));