diff options
Diffstat (limited to 'misc/chattr.c')
-rw-r--r-- | misc/chattr.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/misc/chattr.c b/misc/chattr.c index 6bb33e68..39a60169 100644 --- a/misc/chattr.c +++ b/misc/chattr.c @@ -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); |