Whamcloud - gitweb
mke2fs: check for pre-existing file system
[tools/e2fsprogs.git] / misc / chattr.c
index 6bb33e6..39a6016 100644 (file)
@@ -263,8 +263,9 @@ static int chattr_dir_proc (const char * dir_name, struct dirent * de,
 
                path = malloc(strlen (dir_name) + 1 + strlen (de->d_name) + 1);
                if (!path) {
-                       fprintf(stderr, _("Couldn't allocate path variable "
-                                         "in chattr_dir_proc"));
+                       fprintf(stderr, "%s",
+                               _("Couldn't allocate path variable "
+                                 "in chattr_dir_proc"));
                        return -1;
                }
                sprintf(path, "%s/%s", dir_name, de->d_name);