X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;ds=sidebyside;f=dict%2Fdictext.c;h=b72e83a0186629f83d9f82741139b62738891c8a;hb=174ad2c7bbf2b7312ac080de2fd85d0509a55404;hp=06f13e3d4b76b72c843f7258604c5100ad4e91d4;hpb=896c0427df9d8eff5de6a1735dcd992e067df844;p=idzebra-moved-to-github.git diff --git a/dict/dictext.c b/dict/dictext.c index 06f13e3..b72e83a 100644 --- a/dict/dictext.c +++ b/dict/dictext.c @@ -1,6 +1,6 @@ -/* $Id: dictext.c,v 1.9 2002-08-02 19:26:55 adam Exp $ - Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002 - Index Data Aps +/* $Id: dictext.c,v 1.11 2005-01-15 19:38:21 adam Exp $ + Copyright (C) 1995-2005 + Index Data ApS This file is part of the Zebra server. @@ -50,7 +50,7 @@ int main (int argc, char **argv) inputfile = arg; else { - logf (LOG_FATAL, "too many files specified\n"); + yaz_log (YLOG_FATAL, "too many files specified\n"); exit (1); } } @@ -68,7 +68,7 @@ int main (int argc, char **argv) use8 = 1; else { - logf (LOG_FATAL, "Unknown option '-%s'", arg); + yaz_log (YLOG_FATAL, "Unknown option '-%s'", arg); exit (1); } } @@ -77,7 +77,7 @@ int main (int argc, char **argv) ipf = fopen (inputfile, "r"); if (!ipf) { - logf (LOG_FATAL|LOG_ERRNO, "cannot open '%s'", inputfile); + yaz_log (YLOG_FATAL|YLOG_ERRNO, "cannot open '%s'", inputfile); exit (1); } }