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

(main): Cast geteuid in sprintf to int.

From Hallvard B Furuseth <>.
parent 21dd28d4
......@@ -267,7 +267,7 @@ main (argc, argv)
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