mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 17:24:23 +00:00
(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…
Reference in a new issue