diff options
author | Aaron Griffin <aaron@archlinux.org> | 2006-10-21 21:30:43 +0000 |
---|---|---|
committer | Aaron Griffin <aaron@archlinux.org> | 2006-10-21 21:30:43 +0000 |
commit | a719484f1ee0381b72729edf13dd03c4522f85e3 (patch) | |
tree | 10530b5f474a26beb151a71af5fc7b235d53ed3c /lib/libalpm | |
parent | 93311212bddb7d7e75ea91f04604ca42e85ef823 (diff) | |
download | pacman-a719484f1ee0381b72729edf13dd03c4522f85e3.tar.xz |
Reverted the "out of memory" error to 1 to prevent API changes.
This should be changed later, or at least everything fixed up. Typically a 1
return indicates "an error occured" and some functions still might just return
error on failure.
Diffstat (limited to 'lib/libalpm')
-rw-r--r-- | lib/libalpm/alpm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/alpm.h b/lib/libalpm/alpm.h index 35260827..a0dbe2bd 100644 --- a/lib/libalpm/alpm.h +++ b/lib/libalpm/alpm.h @@ -398,7 +398,7 @@ char *alpm_get_sha1sum(char *name); */ extern enum __pmerrno_t { - PM_ERR_MEMORY = 2, + PM_ERR_MEMORY = 1, PM_ERR_SYSTEM, PM_ERR_BADPERMS, PM_ERR_NOT_A_FILE, |