File: 05-build-with-gcc-12.patch

package info (click to toggle)
fcoe-utils 1.0.34-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 928 kB
  • sloc: ansic: 12,049; sh: 1,302; makefile: 79
file content (15 lines) | stat: -rw-r--r-- 381 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: Address FTBFS with GCC-12
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1012922
Author: tony mancill <tmancill@debian.org>

--- a/fcoeadm_display.c
+++ b/fcoeadm_display.c
@@ -246,7 +246,7 @@
 	char vendor[256];
 	char model[256];
 	char rev[256];
-	char *osname;
+	char *osname = "Unknown";
 	char *capstr;
 	uint64_t lba = 0;
 	uint32_t blksize = 0;