]> git.pld-linux.org Git - packages/systemd.git/commitdiff
fix "Caught <ABRT>, dumped core as pid..."
authorJan Palus <atler@pld-linux.org>
Sun, 18 Nov 2018 22:04:28 +0000 (23:04 +0100)
committerJan Palus <atler@pld-linux.org>
Sun, 18 Nov 2018 22:04:28 +0000 (23:04 +0100)
target-pld.patch

index f13c46fd398e78c31f33c5165549afa4fa7aba6c..d237b3ab41409f17d3e564d26fa6ebe04d6cc764 100644 (file)
@@ -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;
This page took 0.356967 seconds and 4 git commands to generate.