2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-31 06:15:24 +00:00

tty: Cleanup tty mutex preparation

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
Pavel Emelyanov
2012-09-14 17:58:46 +04:00
parent aa247d8631
commit ff875dc494
3 changed files with 7 additions and 7 deletions

2
tty.c
View File

@@ -104,7 +104,7 @@ static DECLARE_BITMAP(tty_bitmap, (MAX_TTYS << 1));
*/
static mutex_t *tty_mutex;
int tty_prepare_shared(void)
int prepare_shared_tty(void)
{
tty_mutex = shmalloc(sizeof(*tty_mutex));
if (!tty_mutex) {