Message-ID: <518E7659.7080503@xenomai.org> Date: Sat, 11 May 2013 18:48:25 +0200 From: Gilles Chanteperdrix MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai] [Xenomai-git] Philippe Gerum : lib/cobalt: use common console message prefix List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: xenomai@xenomai.org On 05/11/2013 06:44 PM, git repository hosting wrote: > static void sigill_handler(int sig) > { > - fprintf(stderr, "Xenomai disabled in kernel?\n"); > + const char *m = "Xenomai disabled in kernel?\n"; I believe you want static const char m[] = otherwise sizeof(m) will be 4 or 8. -- Gilles.