diff options
Diffstat (limited to 'src/firejail/fs_dev.c')
-rw-r--r-- | src/firejail/fs_dev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/firejail/fs_dev.c b/src/firejail/fs_dev.c index daf0afd9e..aa5f7c28b 100644 --- a/src/firejail/fs_dev.c +++ b/src/firejail/fs_dev.c | |||
@@ -225,7 +225,7 @@ void fs_private_dev(void){ | |||
225 | 225 | ||
226 | 226 | ||
227 | // mount /dev/pts | 227 | // mount /dev/pts |
228 | gid_t ttygid = get_tty_gid(); | 228 | gid_t ttygid = get_group_id("tty"); |
229 | char *data; | 229 | char *data; |
230 | if (asprintf(&data, "newinstance,gid=%d,mode=620,ptmxmode=0666", (int) ttygid) == -1) | 230 | if (asprintf(&data, "newinstance,gid=%d,mode=620,ptmxmode=0666", (int) ttygid) == -1) |
231 | errExit("asprintf"); | 231 | errExit("asprintf"); |