Rev 223: don't use stderr here - rely on logging in
http://samba.org/~tridge/ctdb
tridge at samba.org
tridge at samba.org
Mon Apr 30 09:10:21 GMT 2007
------------------------------------------------------------
revno: 223
revision-id: tridge at samba.org-20070430091021-83436vamcf4mb239
parent: tridge at samba.org-20070429204223-p3irof22u7mgolo6
committer: Andrew Tridgell <tridge at samba.org>
branch nick: tridge
timestamp: Mon 2007-04-30 11:10:21 +0200
message:
don't use stderr here - rely on logging
modified:
common/ctdb_util.c ctdb_util.c-20061128065342-to93h6eejj5kon81-3
direct/ctdbd.c ctdbd.c-20070411085044-dqmhr6mfeexnyt4m-1
=== modified file 'common/ctdb_util.c'
--- a/common/ctdb_util.c 2007-04-29 14:19:40 +0000
+++ b/common/ctdb_util.c 2007-04-30 09:10:21 +0000
@@ -55,7 +55,6 @@
void ctdb_fatal(struct ctdb_context *ctdb, const char *msg)
{
DEBUG(0,("ctdb fatal error: %s\n", msg));
- fprintf(stderr, "ctdb fatal error: '%s'\n", msg);
abort();
}
=== modified file 'direct/ctdbd.c'
--- a/direct/ctdbd.c 2007-04-29 20:42:23 +0000
+++ b/direct/ctdbd.c 2007-04-30 09:10:21 +0000
@@ -86,7 +86,8 @@
/* useful default logfile */
if (ctdb->logfile == NULL) {
- char *name = talloc_asprintf(ctdb, "%s/log.ctdb.%u", VARDIR, ctdb->vnn);
+ char *name = talloc_asprintf(ctdb, "%s/log.ctdb.vnn%u",
+ VARDIR, ctdb->vnn);
ctdb_set_logfile(ctdb, name);
talloc_free(name);
}
More information about the samba-cvs
mailing list