From: Tom de Vries Date: Tue, 7 Jun 2022 09:22:56 +0000 (+0200) Subject: [gdb/rust] Add missing _() for error call X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b11f3dbb884dfacd1d581dbccc017fa1da155ead;p=binutils-gdb.git [gdb/rust] Add missing _() for error call In commit 1390b65a1b9 ("[gdb/rust] Fix literal truncation") I forgot to add _() around a string using in an error call. Fix this by adding the missing _(). Tested on x86_64-linux. --- diff --git a/gdb/rust-parse.c b/gdb/rust-parse.c index 836f49108f8..f5eb63ec1e3 100644 --- a/gdb/rust-parse.c +++ b/gdb/rust-parse.c @@ -1027,7 +1027,7 @@ rust_parser::lex_number () const char *trailer; value = strtoulst (number.c_str () + offset, &trailer, radix); if (*trailer != '\0') - error ("Integer literal is too large"); + error (_("Integer literal is too large")); if (implicit_i32 && value >= ((uint64_t) 1) << 31) type = get_type ("i64");