Commit 747129fc authored by Guillaume BIENKOWSKI's avatar Guillaume BIENKOWSKI

Fix bad printf() usage for uid_t

parent 07da4a39
......@@ -460,7 +460,7 @@ ortp_socket_t ortp_client_pipe_connect(const char *name){
// check that the creator of the pipe is us
if( (stat(name, &fstats) == 0) && (fstats.st_uid != uid) ){
ortp_error("UID of file %s (%u) differs from ours (%u)", pipename, fstats.st_uid, uid);
ortp_error("UID of file %s (%lu) differs from ours (%lu)", pipename, (unsigned long)fstats.st_uid, (unsigned long)uid);
return -1;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment