summaryrefslogtreecommitdiff
path: root/tests/src/libsystem.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/src/libsystem.c')
-rw-r--r--tests/src/libsystem.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/src/libsystem.c b/tests/src/libsystem.c
index 52758272..ab8eeac8 100644
--- a/tests/src/libsystem.c
+++ b/tests/src/libsystem.c
@@ -824,7 +824,7 @@ pam_start (const char *service_name, const char *user, const struct pam_conv *co
g_string_append_printf (status, " SERVICE=%s", service_name);
if (user)
g_string_append_printf (status, " USER=%s", user);
- status_notify (status->str);
+ status_notify ("%s", status->str);
g_string_free (status, TRUE);
}
@@ -862,7 +862,7 @@ pam_authenticate (pam_handle_t *pamh, int flags)
if (flags & PAM_DISALLOW_NULL_AUTHTOK)
g_string_append (status, " DISALLOW_NULL_AUTHTOK");
- status_notify (status->str);
+ status_notify ("%s", status->str);
g_string_free (status, TRUE);
}
@@ -1240,7 +1240,7 @@ pam_open_session (pam_handle_t *pamh, int flags)
if (flags & PAM_SILENT)
g_string_append (status, " SILENT");
- status_notify (status->str);
+ status_notify ("%s", status->str);
g_string_free (status, TRUE);
}
@@ -1300,7 +1300,7 @@ pam_close_session (pam_handle_t *pamh, int flags)
if (flags & PAM_SILENT)
g_string_append (status, " SILENT");
- status_notify (status->str);
+ status_notify ("%s", status->str);
g_string_free (status, TRUE);
}
@@ -1325,7 +1325,7 @@ pam_acct_mgmt (pam_handle_t *pamh, int flags)
if (flags & PAM_DISALLOW_NULL_AUTHTOK)
g_string_append (status, " DISALLOW_NULL_AUTHTOK");
- status_notify (status->str);
+ status_notify ("%s", status->str);
g_string_free (status, TRUE);
}
@@ -1365,7 +1365,7 @@ pam_chauthtok (pam_handle_t *pamh, int flags)
if (flags & PAM_CHANGE_EXPIRED_AUTHTOK)
g_string_append (status, " CHANGE_EXPIRED_AUTHTOK");
- status_notify (status->str);
+ status_notify ("%s", status->str);
g_string_free (status, TRUE);
}
@@ -1425,7 +1425,7 @@ pam_setcred (pam_handle_t *pamh, int flags)
if (flags & PAM_REFRESH_CRED)
g_string_append (status, " REFRESH_CRED");
- status_notify (status->str);
+ status_notify ("%s", status->str);
g_string_free (status, TRUE);
}
@@ -1484,7 +1484,7 @@ pam_end (pam_handle_t *pamh, int pam_status)
status = g_string_new ("");
g_string_append_printf (status, "%s END", pamh->id);
- status_notify (status->str);
+ status_notify ("%s", status->str);
g_string_free (status, TRUE);
}