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