Skip to contentSkip to conversation

gettextize an overlooked mke2fs error message

PATCH Applied Benno Schulenberg 2 participants 2 messages Jun 1, 2014 – Jun 2, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gettextize an overlooked mke2fs error message

Although, maybe it needs the « "%s", _("...") » construction to avoid problems with other compilers.

Signature · 2 lines
http://www.fastmail.fm - Or how I learned to stop worrying and
                          love email again

From b5cb60bd552865ac7920c7fba130fc5dc565bdd9 Mon Sep 17 00:00:00 2001
From: Benno Schulenberg <[email protected]>
Date: Sun, 1 Jun 2014 22:24:09 +0200
Subject: [PATCH 13/14] mke2fs: gettextize an overlooked error message

---
 misc/mke2fs.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
misc/mke2fs.c +1 -1
index 55bbe9e..b451cc3 100644
@@ -341,7 +341,7 @@ static void write_reserved_inodes(ext2_filsys fs)
 
 	retval = ext2fs_get_memzero(EXT2_INODE_SIZE(fs->super), &inode);
 	if (retval) {
-		com_err("inode_init", retval, "while allocating memory");
+		com_err("inode_init", retval, _("while allocating memory"));
 		exit(1);
 	}
 
Signature · 1 line
1.7.0.4
#1 lore raw

Thanks, applied (to the e2fsprogs next branch).

- Ted