Commit 51399cb5 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Fixed format strings in TRACE2 macro.

parent e863d8af
/*
* $Id: dbck-cache.c,v 0.17 1993/10/18 12:29:07 ceder Exp $
* $Id: dbck-cache.c,v 0.18 1994/01/12 01:35:41 ceder Exp $
* Copyright (C) 1991 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -32,7 +32,7 @@
* Also save time as a time_t instead of a struct tm.
*/
static char *rcsid = "$Id: dbck-cache.c,v 0.17 1993/10/18 12:29:07 ceder Exp $";
static char *rcsid = "$Id: dbck-cache.c,v 0.18 1994/01/12 01:35:41 ceder Exp $";
#include "rcs.h"
USE(rcsid);
......@@ -172,7 +172,7 @@ mark_conference_as_changed(Conf_no conf_no)
void
mark_text_as_changed( Text_no text_no )
{
TRACE2("Text %d is changed.\n", text_no);
TRACE2("Text %lu is changed.\n", text_no);
VOID_TEXT_RANGE("mark_text_as_changed\n", text_no);
}
......@@ -320,7 +320,7 @@ cached_get_text( Text_no text )
String the_string;
TEXT_RANGE("cached_get_text\n", text, EMPTY_STRING);
TRACE2("cached_get_text %d\n", text);
TRACE2("cached_get_text %lu\n", text);
if ( text_arr[ text ] == NULL )
return EMPTY_STRING;
......@@ -346,7 +346,7 @@ cached_get_text_stat( Text_no text )
{
kom_errno = KOM_NO_SUCH_TEXT;
TEXT_RANGE("cached_get_text_stat\n", text, NULL);
TRACE2("cached_get_text_stat %d\n", text);
TRACE2("cached_get_text_stat %lu\n", text);
return text_arr[ text ];
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment