Fix error message.
authorMilan Broz <gmazyland@gmail.com>
Fri, 1 Jul 2011 16:41:59 +0000 (16:41 +0000)
committerMilan Broz <gmazyland@gmail.com>
Fri, 1 Jul 2011 16:41:59 +0000 (16:41 +0000)
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@560 36d66b0a-2a48-0410-832c-cd162a569da5

lib/utils.c

index 19fff5d..7e56728 100644 (file)
@@ -434,8 +434,8 @@ int device_check_and_adjust(struct crypt_device *cd,
                log_dbg("Checking crypt segments for device %s.", device);
                r = crypt_sysfs_check_crypt_segment(device, *offset, *size);
                if (r < 0) {
-                       log_err(cd, "Cannot use device %s (crypt segments "
-                                   "overlaps or in use by another device).\n",
+                       log_err(cd, _("Cannot use device %s (crypt segments "
+                                   "overlaps or in use by another device).\n"),
                                    device);
                        return r;
                }