mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-05 16:00:05 +01:00
Fix signed (error) return from read in loop utils.
This commit is contained in:
@@ -282,7 +282,7 @@ static char *_sysfs_backing_file(const char *loop)
|
||||
{
|
||||
struct stat st;
|
||||
char buf[PATH_MAX];
|
||||
size_t len;
|
||||
ssize_t len;
|
||||
int fd;
|
||||
|
||||
if (stat(loop, &st) || !S_ISBLK(st.st_mode))
|
||||
|
||||
Reference in New Issue
Block a user