diff options
author | Guillem Jover <guillem@debian.org> | 2008-12-07 00:28:10 +0200 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2008-12-09 05:50:32 +0200 |
commit | c9ab34f30bcb3967fada97df6ce03edcb475ebbd (patch) | |
tree | 4e4e926690c309e1f658ffa1e998fb154380998f /dpkg-split | |
parent | 32bb29c7bffd9354cdaea4ad30fc84d02ea57bde (diff) | |
download | dpkg-c9ab34f30bcb3967fada97df6ce03edcb475ebbd.tar.gz |
Improve internerr output messages and print the invalid value
Diffstat (limited to 'dpkg-split')
-rw-r--r-- | dpkg-split/queue.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dpkg-split/queue.c b/dpkg-split/queue.c index b65713313..85136ac00 100644 --- a/dpkg-split/queue.c +++ b/dpkg-split/queue.c @@ -256,7 +256,8 @@ static void discardsome(enum discardwhich which, const char *package) { break; case ds_all: break; - default: internerr("bad discardsome which"); + default: + internerr("unknown discardwhich '%d'", which); } if (unlink(pq->info.filename)) ohshite(_("unable to discard `%.250s'"),pq->info.filename); |