diff options
author | Guillem Jover <guillem@debian.org> | 2011-01-10 15:28:46 +0100 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2011-01-16 10:19:21 +0100 |
commit | 064d5f21ab0a97538b9a3d85056dd0c77e46ffba (patch) | |
tree | 21e9d95f4fd3866a540a2e282d2beef233d2cae5 /src/enquiry.c | |
parent | 559d66ec3f4a649e65cc87dc6bea708c9289c1ff (diff) | |
download | dpkg-064d5f21ab0a97538b9a3d85056dd0c77e46ffba.tar.gz |
libdpkg: Rename varbufaddc() to varbuf_add_char()
Make the varbuf API a bit more consistent.
Diffstat (limited to 'src/enquiry.c')
-rw-r--r-- | src/enquiry.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/enquiry.c b/src/enquiry.c index 489ea05c7..1594f54b1 100644 --- a/src/enquiry.c +++ b/src/enquiry.c @@ -406,7 +406,7 @@ void predeppackage(const char *const *argv) { if (!pkg) { varbuf_reset(&vb); describedepcon(&vb,dep); - varbufaddc(&vb,0); + varbuf_add_char(&vb, '\0'); fprintf(stderr, _("dpkg: cannot see how to satisfy pre-dependency:\n %s\n"),vb.buf); ohshit(_("cannot satisfy pre-dependencies for %.250s (wanted due to %.250s)"), dep->up->name,startpkg->name); |