(main): Cast geteuid in sprintf to int.
From Hallvard B Furuseth <h.b.furuseth@usit.uio.no>.
This commit is contained in:
parent
21dd28d479
commit
c3d7eab2ba
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue