From ac672a1a382bb3cc4b277ffcfac047dbe38fc4d0 Mon Sep 17 00:00:00 2001 From: mccallum Date: Thu, 31 Oct 1996 21:24:05 +0000 Subject: [PATCH] ([Observer -gotNotificationFoo:]): Don't use %@ inside printf(). ([Observer -gotNotificationFooNoObject:]): Likewise. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1922 72102866-910b-0410-8b05-ffd578937521 --- Testing/nsnotification.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Testing/nsnotification.m b/Testing/nsnotification.m index bb9587512..3e799f55a 100644 --- a/Testing/nsnotification.m +++ b/Testing/nsnotification.m @@ -16,12 +16,12 @@ - (void) gotNotificationFoo: (NSNotification*)not { - printf ("Got %@\n", [not name]); + printf ("Got %s\n", [[not name] cStringNoCopy]); } - (void) gotNotificationFooNoObject: (NSNotification*)not { - printf ("Got %@ without object\n", [not name]); + printf ("Got %s without object\n", [[not name] cStringNoCopy]); } @end