]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/sys/persona.h
xnu-6153.61.1.tar.gz
[apple/xnu.git] / bsd / sys / persona.h
index 87907d17242875d16b927bc9c593f5950720b232..7b1d26944316b84224f4a0b047a7f2ffcea9e8ed 100644 (file)
@@ -322,7 +322,7 @@ persona_desc(struct persona *persona, int locked)
        char *end = p + sizeof(persona->pna_desc) - 1;
 
        *end = 0;
-       p += snprintf(p, end - p, "%s/%d:%d",
+       p += scnprintf(p, end - p, "%s/%d:%d",
            persona->pna_login,
            kauth_cred_getuid(persona->pna_cred),
            kauth_cred_getgid(persona->pna_cred));