From dc3c5b79ba1ee6fd7a98842fde43d072e004f93b Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Wed, 8 Dec 2010 16:07:31 +0100 Subject: add abrt_ prefixes to abrt-internal functions in libabrt.so Signed-off-by: Denys Vlasenko --- src/cli/CLI.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cli/CLI.cpp') diff --git a/src/cli/CLI.cpp b/src/cli/CLI.cpp index cdce6b8a..aeb1d461 100644 --- a/src/cli/CLI.cpp +++ b/src/cli/CLI.cpp @@ -164,7 +164,7 @@ static char *guess_crash_id(const char *str) unsigned num_crashinfos = ci->len; if (str[0] == '@') /* "--report @N" syntax */ { - unsigned position = xatoi_u(str + 1); + unsigned position = xatoi_positive(str + 1); if (position >= num_crashinfos) error_msg_and_die("There are only %u crash infos", num_crashinfos); crash_data_t *info = get_crash_data(ci, position); -- cgit