Bump safeclib version

Signed-off-by: Jan Musial <jan.musial@intel.com>
This commit is contained in:
Jan Musial
2022-06-28 14:36:30 +02:00
parent 5fa04ff1f1
commit a4c82c364f
3 changed files with 3 additions and 78 deletions

View File

@@ -1738,9 +1738,9 @@ int check_if_mounted(int cache_id, int core_id)
}
while ((mstruct = getmntent(mtab)) != NULL) {
error = strncmp_s(mstruct->mnt_fsname, PATH_MAX, dev_buf, sizeof(dev_buf), &difference);
error = strcmp_s(mstruct->mnt_fsname, PATH_MAX, dev_buf, &difference);
/* mstruct->mnt_fsname is /dev/... block device path, not a mountpoint */
if (error)
if (error != EOK)
return FAILURE;
if (!difference) {
if (core_id<0) {