From 9a066fa40143f587db7c67ea027e98883d1179fa Mon Sep 17 00:00:00 2001 From: netblue30 Date: Sat, 12 Nov 2016 08:06:49 -0500 Subject: fixes --- src/firejail/x11.c | 2 +- src/lib/common.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/firejail/x11.c b/src/firejail/x11.c index 54f947c45..2b1121958 100644 --- a/src/firejail/x11.c +++ b/src/firejail/x11.c @@ -714,7 +714,7 @@ void x11_xorg(void) { // move the temporary file in RUN_XAUTHORITY_SEC_FILE in order to have it deleted // automatically when the sandbox is closed if (copy_file(tmpfname, RUN_XAUTHORITY_SEC_FILE, getuid(), getgid(), 0600)) { - fprintf(stderr, "asdfdsfError: cannot create the new .Xauthority file\n"); + fprintf(stderr, "Error: cannot create the new .Xauthority file\n"); exit(1); } if (chown(RUN_XAUTHORITY_SEC_FILE, getuid(), getgid()) == -1) diff --git a/src/lib/common.c b/src/lib/common.c index ea0ab781a..2f2340963 100644 --- a/src/lib/common.c +++ b/src/lib/common.c @@ -278,6 +278,7 @@ int pid_hidepid(void) { } } + fclose(fp); return 0; } -- cgit v1.2.3-54-g00ecf