X-Git-Url: http://git.draconx.ca/gitweb/liblbx.git/blobdiff_plain/eddbb4497da928fbab743879384056b6300e9cbb..2ec44cef64979d8e19eb66206c26a7bcad4bef8a:/src/error.c diff --git a/src/error.c b/src/error.c index 3e47204..e46c28f 100644 --- a/src/error.c +++ b/src/error.c @@ -1,7 +1,7 @@ /* * 2ooM: The Master of Orion II Reverse Engineering Project * Utilities for out-of-band error propagation. - * Copyright © 2010, 2013 Nick Bowler + * Copyright © 2010, 2013-2014 Nick Bowler * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -105,8 +105,8 @@ static void getmsg(int error, const char **msg) case LBX_EFORMAT: *msg = _("Invalid file format"); break; - case LBX_ENOENT: - *msg = _("Specified item does not exist"); + case LBX_EINVAL: + *msg = _("Invalid argument"); break; case LBX_ENOMEM: *msg = _("Memory allocation failed");