]> git.draconx.ca Git - liblbx.git/blobdiff - src/error.c
liblbx: Rename LBX_ENOENT to LBX_EINVAL.
[liblbx.git] / src / error.c
index 3e47204c76716ea6cd075a80e3423420af77270f..e46c28faf1b5bb696c4caeed86c169f54f7bb5ec 100644 (file)
@@ -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");