summaryrefslogtreecommitdiffstats
path: root/src/inspect.c
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2010-11-13 14:49:07 +0000
committerRichard W.M. Jones <rjones@redhat.com>2010-11-13 14:49:07 +0000
commit528cd8f64176ca50f5b82db5682b0ee31833b162 (patch)
tree1dda378c3062d8a58a95a5bd1e1e656c35e6bd7e /src/inspect.c
parent79b202ca26226e0a95e3f04ac7ff91e9eb918b48 (diff)
downloadlibguestfs-528cd8f64176ca50f5b82db5682b0ee31833b162.tar.gz
libguestfs-528cd8f64176ca50f5b82db5682b0ee31833b162.tar.xz
libguestfs-528cd8f64176ca50f5b82db5682b0ee31833b162.zip
lib: Make some error strings localizable.
Diffstat (limited to 'src/inspect.c')
-rw-r--r--src/inspect.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/inspect.c b/src/inspect.c
index 58a49a64..3c4c619b 100644
--- a/src/inspect.c
+++ b/src/inspect.c
@@ -349,7 +349,7 @@ parse_release_file (guestfs_h *g, struct inspect_fs *fs,
if (product_name == NULL)
return -1;
if (product_name[0] == NULL) {
- error (g, "%s: file is empty", release_filename);
+ error (g, _("%s: file is empty"), release_filename);
guestfs___free_string_list (product_name);
return -1;
}
@@ -654,7 +654,7 @@ check_fstab_aug_open (guestfs_h *g, struct inspect_fs *fs)
return -1;
if (lines[0] == NULL) {
- error (g, "could not parse /etc/fstab or empty file");
+ error (g, _("could not parse /etc/fstab or empty file"));
guestfs___free_string_list (lines);
return -1;
}
@@ -1079,7 +1079,7 @@ parse_unsigned_int (guestfs_h *g, const char *str)
long ret;
int r = xstrtol (str, NULL, 10, &ret, "");
if (r != LONGINT_OK) {
- error (g, "could not parse integer in version number: %s", str);
+ error (g, _("could not parse integer in version number: %s"), str);
return -1;
}
return ret;