Commit c3d7eab2 authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

(main): Cast geteuid in sprintf to int.

From Hallvard B Furuseth <h.b.furuseth@usit.uio.no>.
parent 21dd28d4
......@@ -267,7 +267,7 @@ main (argc, argv)
}
#ifndef SERVER_HOME_DIR
sprintf (server.sun_path, "/tmp/esrv%d-%s", geteuid (), system_name);
sprintf (server.sun_path, "/tmp/esrv%d-%s", (int) geteuid (), system_name);
if (unlink (server.sun_path) == -1 && errno != ENOENT)
{
......
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