More use of %m instead of strerror(errno)
[citadel.git] / citadel / modules / openid / serv_openid_rp.c
index b592d8156c090f548eff4f9469a050042b0cf530..269240bddb31d7013aa7ec688980285cff6e0a0a 100644 (file)
@@ -839,7 +839,7 @@ void cmd_oids(char *argbuf) {
 
        CCC->openid_data = oiddata = malloc(sizeof(ctdl_openid));
        if (oiddata == NULL) {
-               syslog(LOG_ERR, "openid: malloc() failed: %s", strerror(errno));
+               syslog(LOG_ERR, "openid: malloc() failed: %m");
                cprintf("%d malloc failed\n", ERROR + INTERNAL_ERROR);
                return;
        }