sanlock/suse-no-date-time.patch
James Fehlig 331aa19f86 - Update to version 3.9.5:
* sanlock: change log level for resource names
  * sanlock: include worker thread info in status
  * sanlock: reuse io buffer with hugepages
  * sanlock: use hugepages to avoid splitting read io
  * sanlock: don't reduce max_sectors_kb
  * sanlock: fix is dead log message for unused host id
  * sanlock: repeat helper_msg string termination
  * sanlock: fix invalid strcpy in direct dump

OBS-URL: https://build.opensuse.org/package/show/Virtualization/sanlock?expand=0&rev=79
2024-10-16 20:22:31 +00:00

30 lines
942 B
Diff

Index: sanlock-3.9.5/src/main.c
===================================================================
--- sanlock-3.9.5.orig/src/main.c
+++ sanlock-3.9.5/src/main.c
@@ -2389,8 +2389,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.9.5/fence_sanlock/fence_sanlockd.c
===================================================================
--- sanlock-3.9.5.orig/fence_sanlock/fence_sanlockd.c
+++ sanlock-3.9.5/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;