[DRBD-cvs] svn commit by rasto - r2605 - trunk/tools - removed
warning in dopd.c, fixed email address and fixe
drbd-cvs at lists.linbit.com
drbd-cvs at lists.linbit.com
Wed Nov 29 10:20:08 CET 2006
Author: rasto
Date: 2006-11-29 10:20:06 +0100 (Wed, 29 Nov 2006)
New Revision: 2605
Modified:
trunk/tools/dopd.c
trunk/tools/drbd-peer-outdater.c
Log:
removed warning in dopd.c, fixed email address and fixed typos in the help text
Modified: trunk/tools/dopd.c
===================================================================
--- trunk/tools/dopd.c 2006-11-21 17:29:49 UTC (rev 2604)
+++ trunk/tools/dopd.c 2006-11-29 09:20:06 UTC (rev 2605)
@@ -1,7 +1,7 @@
/* $Id$ */
/* drbd outdate peer daemon
* Copyright (C) 2006 LINBIT <http://www.linbit.com/>
- * Written by Rasto Levrinc <rasto at linbit.at>
+ * Written by Rasto Levrinc <rasto at linbit.com>
*
* based on ipfail.c and attrd.c
*
@@ -465,6 +465,7 @@
char pid[10];
char *bname, *parameter;
IPC_Channel *apiIPC;
+ int rc;
/* Get the name of the binary for logging purposes */
bname = ha_strdup(argv[0]);
@@ -536,7 +537,7 @@
Gmain_timeout_add_full(G_PRIORITY_DEFAULT, 1000,
dopd_timeout_dispatch, (gpointer)hb,
dopd_dispatch_destroy);
- int rc = init_server_ipc_comms(
+ rc = init_server_ipc_comms(
ha_strdup(T_OUTDATER),
outdater_client_connect,
outdater_client_destroy);
Modified: trunk/tools/drbd-peer-outdater.c
===================================================================
--- trunk/tools/drbd-peer-outdater.c 2006-11-21 17:29:49 UTC (rev 2604)
+++ trunk/tools/drbd-peer-outdater.c 2006-11-29 09:20:06 UTC (rev 2605)
@@ -2,7 +2,7 @@
/* drbd-peer-outdater
* Copyright (C) 2006 LINBIT <http://www.linbit.com/>
*
- * Written by Rasto Levrinc <rasto at linbit.at>
+ * Written by Rasto Levrinc <rasto at linbit.com>
*
* based on attrd
*
@@ -224,10 +224,10 @@
fprintf(stream, "\t-t <int>\ttimeout in seconds; default: %d\n",
DEFAULT_TIMEOUT);
fprintf(stream, "\t-r <string>\tdrbd resource\n\n"
- "The drbd resource has to be specified,\n"
+ "The drbd resource has to be specified \n"
"either on the commandline using the -r option,\n"
- "or unsing the $DRBD_RESOURCE environment variable,\n"
- "which will be ignored, if the -r option is used.\n");
+ "or using the $DRBD_RESOURCE environment variable.\n"
+ "$DRBD_RESOURCE will be ignored, if the -r option is used.\n");
fflush(stream);
exit(exit_status);
More information about the drbd-cvs
mailing list