diff options
author | Guillem Jover <guillem@debian.org> | 2014-05-28 00:49:11 +0200 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2014-05-28 00:49:11 +0200 |
commit | d3d70a975903a567c799b3f05f2cc4521a497dbf (patch) | |
tree | 16010ed1fe6b22f701a10dcaacea948efd2781f0 /src/enquiry.c | |
parent | 90d16af0604d35ca7d90921f5d59d685d3f2c560 (diff) | |
download | dpkg-d3d70a975903a567c799b3f05f2cc4521a497dbf.tar.gz |
libdpkg: Uppercase and namespace dpkg_arch_type enum values
Diffstat (limited to 'src/enquiry.c')
-rw-r--r-- | src/enquiry.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/enquiry.c b/src/enquiry.c index d8369c56a..b157bafb7 100644 --- a/src/enquiry.c +++ b/src/enquiry.c @@ -143,15 +143,15 @@ static const struct audit_problem audit_problems[] = { "database, they need to be reinstalled:\n") }, { .check = audit_arch, - .value.number = arch_none, + .value.number = DPKG_ARCH_NONE, .explanation = N_("The following packages do not have an architecture:\n") }, { .check = audit_arch, - .value.number = arch_illegal, + .value.number = DPKG_ARCH_ILLEGAL, .explanation = N_("The following packages have an illegal architecture:\n") }, { .check = audit_arch, - .value.number = arch_unknown, + .value.number = DPKG_ARCH_UNKNOWN, .explanation = N_( "The following packages have an unknown foreign architecture, which will\n" "cause dependency issues on front-ends. This can be fixed by registering\n" @@ -552,7 +552,7 @@ printarch(const char *const *argv) if (*argv) badusage(_("--%s takes no arguments"), cipaction->olong); - printf("%s\n", dpkg_arch_get(arch_native)->name); + printf("%s\n", dpkg_arch_get(DPKG_ARCH_NATIVE)->name); m_output(stdout, _("<standard output>")); @@ -578,7 +578,7 @@ print_foreign_arches(const char *const *argv) dpkg_arch_load_list(); for (arch = dpkg_arch_get_list(); arch; arch = arch->next) { - if (arch->type != arch_foreign) + if (arch->type != DPKG_ARCH_FOREIGN) continue; printf("%s\n", arch->name); |