projects
/
pazpar2-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed parameters to show() as called from command.c
[pazpar2-moved-to-github.git]
/
util.c
diff --git
a/util.c
b/util.c
index
a92d340
..
fc67cfa
100644
(file)
--- a/
util.c
+++ b/
util.c
@@
-1,13
+1,11
@@
-/* $Id: util.c,v 1.1 2006-11-14 20:44:38 quinn Exp $ */
+/* $Id: util.c,v 1.2 2006-11-18 05:00:38 quinn Exp $ */
-#include <stdio.h>
#include <stdlib.h>
#include <stdlib.h>
-
-extern char *myname;
+#include <yaz/yaz-util.h>
void die(char *string, char *add)
{
void die(char *string, char *add)
{
- fprintf(stderr, "%s: %s (%s)\n", myname, string, add ? add : "");
+ yaz_log(YLOG_FATAL, "Fatal error: %s (%s)", string, add ? add : "");
abort();
}
abort();
}