Blame SOURCES/0089-libmount-use-generic-error-message-for-EACCES-on-umo.patch

f46785
From 301dc3d820434cbc65a7b5565d448e417293fcfb Mon Sep 17 00:00:00 2001
f46785
From: Karel Zak <kzak@redhat.com>
f46785
Date: Thu, 2 Feb 2023 14:47:04 +0100
f46785
Subject: libmount: use generic error message for EACCES on umount
f46785
f46785
Signed-off-by: Karel Zak <kzak@redhat.com>
f46785
Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=2149394
f46785
---
f46785
 libmount/src/context_umount.c | 2 +-
f46785
 1 file changed, 1 insertion(+), 1 deletion(-)
f46785
f46785
diff --git a/libmount/src/context_umount.c b/libmount/src/context_umount.c
f46785
index 240ec3be6..23aaae395 100644
f46785
--- a/libmount/src/context_umount.c
f46785
+++ b/libmount/src/context_umount.c
f46785
@@ -1123,7 +1123,7 @@ int mnt_context_get_umount_excode(
f46785
 			snprintf(buf, bufsz, _("must be superuser to unmount"));
f46785
 			break;
f46785
 		case EACCES:
f46785
-			snprintf(buf, bufsz, _("block devices are not permitted on filesystem"));
f46785
+			snprintf(buf, bufsz, _("filesystem not accessible"));
f46785
 			break;
f46785
 		default:
f46785
 			return mnt_context_get_generic_excode(syserr, buf, bufsz,_("umount(2) system call failed: %m"));
f46785
-- 
f46785
2.39.1
f46785