From 88069d4a4d1c787c22aca903fb518dcf6dce3d15 Mon Sep 17 00:00:00 2001 From: Packit Service Date: Feb 24 2021 16:02:58 +0000 Subject: Apply patch glibc-rh1749439-5.patch patch_name: glibc-rh1749439-5.patch present_in_specfile: true location_in_specfile: 226 --- diff --git a/login/utmp_file.c b/login/utmp_file.c index 54f424f..8b6fee9 100644 --- a/login/utmp_file.c +++ b/login/utmp_file.c @@ -85,7 +85,7 @@ try_file_lock (struct file_locking *locking, int fd, int type) alarm (TIMEOUT); /* Try to get the lock. */ - struct flock fl = + struct flock64 fl = { .l_type = type, fl.l_whence = SEEK_SET, @@ -96,7 +96,7 @@ try_file_lock (struct file_locking *locking, int fd, int type) static void file_unlock (int fd) { - struct flock fl = + struct flock64 fl = { .l_type = F_UNLCK, };