Whamcloud - gitweb
Enhance profile library's parser to accept comments
[tools/e2fsprogs.git] / e2fsck / extend.c
index 646348d..3a92c0e 100644 (file)
 #include <string.h>
 #include <sys/types.h>
 #include <fcntl.h>
+#include "../misc/nls-enable.h"
 
 static void usage(char *progname)
 {
-       fprintf(stderr, "%s: %s filename nblocks blocksize\n",
+       fprintf(stderr, _("%s: %s filename nblocks blocksize\n"),
                progname, progname);
        exit(1);
 }
@@ -39,13 +40,13 @@ int main(int argc, char **argv)
        blocksize = strtoul(argv[3], 0, 0);
 
        if (nblocks < 0) {
-               fprintf(stderr, "Illegal number of blocks!\n");
+               fprintf(stderr, _("Illegal number of blocks!\n"));
                exit(1);
        }
 
        block = malloc(blocksize);
        if (block == 0) {
-               fprintf(stderr, "Couldn't allocate block buffer(size=%d)\n",
+               fprintf(stderr, _("Couldn't allocate block buffer (size=%d)\n"),
                        blocksize);
                exit(1);
        }