[git commit] fdisk: commonalize strings

Denys Vlasenko vda.linux at googlemail.com
Thu Jun 24 23:14:43 UTC 2021


commit: https://git.busybox.net/busybox/commit/?id=53e5c598217db8b6a4e3cddefa260dd5cf0863ea
branch: https://git.busybox.net/busybox/commit/?id=refs/heads/master

function                                             old     new   delta
.rodata                                           103674  103667      -7

Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 util-linux/fdisk.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/util-linux/fdisk.c b/util-linux/fdisk.c
index c50ceead1..1c2a7d683 100644
--- a/util-linux/fdisk.c
+++ b/util-linux/fdisk.c
@@ -232,8 +232,8 @@ struct pte {
 };
 
 #define unable_to_open "can't open '%s'"
-#define unable_to_read "can't read from %s"
-#define unable_to_seek "can't seek on %s"
+#define unable_to_read "can't read '%s'"
+#define unable_to_seek "can't seek '%s'"
 
 enum label_type {
 	LABEL_DOS, LABEL_SUN, LABEL_SGI, LABEL_AIX, LABEL_OSF, LABEL_GPT


More information about the busybox-cvs mailing list