From: Jorge Pereira Date: Sat, 18 May 2019 20:23:26 +0000 (-0300) Subject: systemd: Only the sd_notifyf() supports format-strings X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c86fc0a85d1c92c8db6980c40102acae5d866cda;p=thirdparty%2Ffreeradius-server.git systemd: Only the sd_notifyf() supports format-strings --- diff --git a/src/bin/radiusd.c b/src/bin/radiusd.c index 8efffced64a..def959e40de 100644 --- a/src/bin/radiusd.c +++ b/src/bin/radiusd.c @@ -634,7 +634,7 @@ int main(int argc, char *argv[]) * Update the systemd MAINPID to be our child, * as the parent is about to exit. */ - sd_notify(0, "MAINPID=%lu", (unsigned long)pid); + sd_notifyf(0, "MAINPID=%lu", (unsigned long)pid); #endif goto cleanup;