sanlock/suse-no-date-time.patch
James Fehlig 7699c03a36 Accepting request 481647 from home:ZRen:branches:Virtualization
- Update to sanlock 3.4.0
- Enable fence_sanlockd so that lvm2 can use the new lvmlocked
  feature in cluster environment
  * fix unpackaged file - /usr/sbin/rcfence_sanlockd
  * refresh suse-no-date-time.patch to cover the same issue
  in fence_sanlockd
  * adjust fence_sanlockd.init and suse-systemd.patch
- Enable sanlk-reset subpackage 
- Fix "undefined symbol to io_suspend" at runtime, bsc#1030060
  suse-fix-link-errors.patch

OBS-URL: https://build.opensuse.org/request/show/481647
OBS-URL: https://build.opensuse.org/package/show/Virtualization/sanlock?expand=0&rev=28
2017-03-21 21:32:03 +00:00

30 lines
942 B
Diff

Index: sanlock-3.4.0/src/main.c
===================================================================
--- sanlock-3.4.0.orig/src/main.c
+++ sanlock-3.4.0/src/main.c
@@ -1903,8 +1903,8 @@ static int read_command_line(int argc, c
}
if (!strcmp(arg1, "--version") || !strcmp(arg1, "-V")) {
- printf("%s %s (built %s %s)\n",
- argv[0], VERSION, __DATE__, __TIME__);
+ printf("%s %s\n",
+ argv[0], VERSION);
exit(EXIT_SUCCESS);
}
Index: sanlock-3.4.0/fence_sanlock/fence_sanlockd.c
===================================================================
--- sanlock-3.4.0.orig/fence_sanlock/fence_sanlockd.c
+++ sanlock-3.4.0/fence_sanlock/fence_sanlockd.c
@@ -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;