mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-06 08:10:41 +01:00
vpn: fix printf format string for PID by casting to (long)
Signed-off-by: Thomas Haller <thaller@redhat.com>
(cherry picked from commit f0cd5bb866)
This commit is contained in:
parent
a429276035
commit
931d793430
1 changed files with 2 additions and 2 deletions
|
|
@ -209,8 +209,8 @@ nm_vpn_service_daemon_exec (NMVPNService *service, GError **error)
|
|||
|
||||
success = g_spawn_async (NULL, vpn_argv, NULL, 0, _daemon_setup, NULL, &pid, &spawn_error);
|
||||
if (success) {
|
||||
nm_log_info (LOGD_VPN, "VPN service '%s' started (%s), PID %d",
|
||||
priv->name, priv->dbus_service, pid);
|
||||
nm_log_info (LOGD_VPN, "VPN service '%s' started (%s), PID %ld",
|
||||
priv->name, priv->dbus_service, (long int) pid);
|
||||
priv->start_timeout = g_timeout_add_seconds (5, _daemon_exec_timeout, service);
|
||||
} else {
|
||||
nm_log_warn (LOGD_VPN, "VPN service '%s': could not launch the VPN service. error: (%d) %s.",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue