linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [patch] gettextize an overlooked mke2fs error message
@ 2014-06-01 21:25 Benno Schulenberg
  2014-06-02  1:24 ` Theodore Ts'o
  0 siblings, 1 reply; 2+ messages in thread
From: Benno Schulenberg @ 2014-06-01 21:25 UTC (permalink / raw)
  To: linux-ext4

[-- Attachment #1: Type: text/plain, Size: 222 bytes --]


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

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


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0013-mke2fs-gettextize-an-overlooked-error-message.patch --]
[-- Type: text/x-diff; name="0013-mke2fs-gettextize-an-overlooked-error-message.patch", Size: 790 bytes --]

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

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
---
 misc/mke2fs.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/misc/mke2fs.c b/misc/mke2fs.c
index 55bbe9e..b451cc3 100644
--- a/misc/mke2fs.c
+++ b/misc/mke2fs.c
@@ -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);
 	}
 
-- 
1.7.0.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [patch] gettextize an overlooked mke2fs error message
  2014-06-01 21:25 [patch] gettextize an overlooked mke2fs error message Benno Schulenberg
@ 2014-06-02  1:24 ` Theodore Ts'o
  0 siblings, 0 replies; 2+ messages in thread
From: Theodore Ts'o @ 2014-06-02  1:24 UTC (permalink / raw)
  To: Benno Schulenberg; +Cc: linux-ext4

Thanks, applied (to the e2fsprogs next branch).

					- Ted

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-06-02  1:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-01 21:25 [patch] gettextize an overlooked mke2fs error message Benno Schulenberg
2014-06-02  1:24 ` Theodore Ts'o

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).