From: Jan Palus Date: Sun, 18 Nov 2018 22:04:28 +0000 (+0100) Subject: fix "Caught , dumped core as pid..." X-Git-Tag: auto/th/systemd-239-1~5 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fsystemd.git;a=commitdiff_plain;h=dc5fbf40660948ed76dfcbfa191aeec1c7f3a5e9 fix "Caught , dumped core as pid..." --- diff --git a/target-pld.patch b/target-pld.patch index f13c46f..d237b3a 100644 --- a/target-pld.patch +++ b/target-pld.patch @@ -16,7 +16,7 @@ +int read_etc_hostname_distro(const char *path, char **ret) { + int r; -+ char *p; ++ char *p = NULL; + r = parse_env_file(NULL, "/etc/sysconfig/network", NEWLINE, "HOSTNAME", &p, NULL); + if (r < 0) + return r;