diff options
author | jbj <devnull@localhost> | 1999-09-29 15:59:55 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 1999-09-29 15:59:55 +0000 |
commit | 07d68db900f165350dfe51b2e80ff1e7077e3a6e (patch) | |
tree | 83cd8587136b596cd116ddeb88ce082ae0aafda8 /rpmio | |
parent | 63798c65a1d243b3fb8750f1e8b1de07acbf5acc (diff) | |
download | rpm-07d68db900f165350dfe51b2e80ff1e7077e3a6e.tar.gz rpm-07d68db900f165350dfe51b2e80ff1e7077e3a6e.tar.bz2 rpm-07d68db900f165350dfe51b2e80ff1e7077e3a6e.zip |
Don't use err(3) for now.
CVS patchset: 3339
CVS date: 1999/09/29 15:59:55
Diffstat (limited to 'rpmio')
-rw-r--r-- | rpmio/rpmmalloc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/rpmio/rpmmalloc.c b/rpmio/rpmmalloc.c index a22922c97..0e713d712 100644 --- a/rpmio/rpmmalloc.c +++ b/rpmio/rpmmalloc.c @@ -1,10 +1,10 @@ #include "system.h" -#include <err.h> /* XXX !HAVE_ERR_H: get from misc */ - void *vmefail(void) { - err(EXIT_FAILURE, "virtual memory exhausted"); + fprintf(stderr, _("virtual memory exhausted.\n")); + exit(EXIT_FAILURE); + /*@notreached@*/ return NULL; } |