From fb4551bad0dcbe0db4e28fbd11a2c59f71c9f87a Mon Sep 17 00:00:00 2001 From: Packit Date: Aug 21 2020 09:21:01 +0000 Subject: Apply patch glibc-rh1749439-5.patch patch_name: glibc-rh1749439-5.patch location_in_specfile: 226 present_in_specfile: true --- 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, };