Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

build failure fix.



kamloops# diff -bu   ./lib/libutil/pidfile.c.bch   ./lib/libutil/pidfile.c
--- ./lib/libutil/pidfile.c.bch 2015-01-22 10:50:59.000000000 -0800
+++ ./lib/libutil/pidfile.c     2015-01-22 10:51:04.000000000 -0800
@@ -113,7 +113,7 @@
                bname = getprogname();

        /* _PATH_VARRUN includes trailing / */
-       if (asprintf(&path, "%s%s.pid", _PATH_VARRUN, basename) == -1)
+       if (asprintf(&path, "%s%s.pid", _PATH_VARRUN, bname) == -1)
                return NULL;
        return path;
 }


Home | Main Index | Thread Index | Old Index