diff options
author | Michael Schroeder <mls@suse.de> | 2011-05-24 16:39:51 +0200 |
---|---|---|
committer | Michael Schroeder <mls@suse.de> | 2011-05-24 16:39:51 +0200 |
commit | e2a47f38496014e671b9e9ca7b6f0db1839af78d (patch) | |
tree | 67feaf6207435aecc8c65e24d0b72243fa0295a3 /src/poolarch.c | |
parent | 4cd5d62a01ff1b50c26507a9f27a7df18febacc4 (diff) | |
download | libsolv-e2a47f38496014e671b9e9ca7b6f0db1839af78d.tar.gz libsolv-e2a47f38496014e671b9e9ca7b6f0db1839af78d.tar.bz2 libsolv-e2a47f38496014e671b9e9ca7b6f0db1839af78d.zip |
- do not use obsolete interface in libsolv library itself
Diffstat (limited to 'src/poolarch.c')
-rw-r--r-- | src/poolarch.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/poolarch.c b/src/poolarch.c index fdb8175..12fd202 100644 --- a/src/poolarch.c +++ b/src/poolarch.c @@ -112,7 +112,7 @@ pool_setarchpolicy(Pool *pool, const char *arch) l = strcspn(arch, ":=>"); if (l) { - id = strn2id(pool, arch, l, 1); + id = pool_strn2id(pool, arch, l, 1); if (id > lastarch) { id2arch = sat_realloc2(id2arch, (id + 255 + 1), sizeof(Id)); @@ -146,7 +146,7 @@ pool_arch2color_slow(Pool *pool, Id arch) return ARCHCOLOR_ALL; if (!pool->id2color) pool->id2color = sat_calloc(pool->lastarch + 1, 1); - s = id2str(pool, arch); + s = pool_id2str(pool, arch); if (arch == ARCH_NOARCH || arch == ARCH_ALL) color = ARCHCOLOR_ALL; else if (!strcmp(s, "s390x") || strstr(s, "64")) |