summaryrefslogtreecommitdiffstats
path: root/disk-utils/mkfs.bfs.c
diff options
context:
space:
mode:
authorDavidlohr Bueso2012-02-14 12:13:19 +0100
committerKarel Zak2012-02-22 11:51:57 +0100
commit88ffbf86e0920b15ba25b18ff7fe969c90d1492a (patch)
tree43128c5c4d5ebeba22355a017787f43df70f27d5 /disk-utils/mkfs.bfs.c
parentdocs: add note about losetup to TODO (diff)
downloadkernel-qcow2-util-linux-88ffbf86e0920b15ba25b18ff7fe969c90d1492a.tar.gz
kernel-qcow2-util-linux-88ffbf86e0920b15ba25b18ff7fe969c90d1492a.tar.xz
kernel-qcow2-util-linux-88ffbf86e0920b15ba25b18ff7fe969c90d1492a.zip
mkfs.bfs: add setlocale
Signed-off-by: Davidlohr Bueso <dave@gnu.org>
Diffstat (limited to 'disk-utils/mkfs.bfs.c')
-rw-r--r--disk-utils/mkfs.bfs.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/disk-utils/mkfs.bfs.c b/disk-utils/mkfs.bfs.c
index cbb09e0bd..6e5f012e8 100644
--- a/disk-utils/mkfs.bfs.c
+++ b/disk-utils/mkfs.bfs.c
@@ -115,6 +115,10 @@ int main(int argc, char **argv)
{NULL, 0, NULL, 0}
};
+ setlocale(LC_ALL, "");
+ bindtextdomain(PACKAGE, LOCALEDIR);
+ textdomain(PACKAGE);
+
if (argc < 2)
usage(stderr);