2020-07-14 00:36:18 +02:00
|
|
|
Index: sanlock-3.8.1/src/main.c
|
2012-01-20 23:40:06 +01:00
|
|
|
===================================================================
|
2020-07-14 00:36:18 +02:00
|
|
|
--- sanlock-3.8.1.orig/src/main.c
|
|
|
|
+++ sanlock-3.8.1/src/main.c
|
|
|
|
@@ -2183,8 +2183,8 @@ static int read_command_line(int argc, c
|
2015-03-23 20:57:16 +01:00
|
|
|
}
|
2012-01-20 23:40:06 +01:00
|
|
|
|
2015-03-23 20:57:16 +01:00
|
|
|
if (!strcmp(arg1, "--version") || !strcmp(arg1, "-V")) {
|
2012-01-20 23:40:06 +01:00
|
|
|
- printf("%s %s (built %s %s)\n",
|
2012-12-03 23:15:47 +01:00
|
|
|
- argv[0], VERSION, __DATE__, __TIME__);
|
|
|
|
+ printf("%s %s\n",
|
|
|
|
+ argv[0], VERSION);
|
2012-01-20 23:40:06 +01:00
|
|
|
exit(EXIT_SUCCESS);
|
|
|
|
}
|
|
|
|
|
2020-07-14 00:36:18 +02:00
|
|
|
Index: sanlock-3.8.1/fence_sanlock/fence_sanlockd.c
|
2017-03-21 22:32:03 +01:00
|
|
|
===================================================================
|
2020-07-14 00:36:18 +02:00
|
|
|
--- sanlock-3.8.1.orig/fence_sanlock/fence_sanlockd.c
|
|
|
|
+++ sanlock-3.8.1/fence_sanlock/fence_sanlockd.c
|
2017-03-21 22:32:03 +01:00
|
|
|
@@ -565,8 +565,7 @@ int main(int argc, char *argv[])
|
|
|
|
print_usage();
|
|
|
|
exit(0);
|
|
|
|
case 'V':
|
|
|
|
- printf("fence_sanlockd %s (built %s %s)\n",
|
|
|
|
- VERSION, __DATE__, __TIME__);
|
|
|
|
+ printf("fence_sanlockd %s\n", VERSION);
|
|
|
|
exit(0);
|
|
|
|
case EOF:
|
|
|
|
cont = 0;
|