summaryrefslogtreecommitdiff
path: root/avr/strerror.c
diff options
context:
space:
mode:
authorLeo C2018-09-03 12:03:37 +0200
committerLeo C2018-09-04 21:26:04 +0200
commit5e8ac5e02a09140e97d56a9d5313504dfa31282d (patch)
tree87f6d50ce22abf3d49722da9a1f7111de812211b /avr/strerror.c
parent86ee5f8bc4c5a4c204be6fff004ef6bf6b839dcd (diff)
downloadz180-stamp-5e8ac5e02a09140e97d56a9d5313504dfa31282d.zip
cmd_attach.c, cmd_boot.c, cmd_loadcpm3.c: use cmd_error()
Diffstat (limited to 'avr/strerror.c')
-rw-r--r--avr/strerror.c13
1 files changed, 11 insertions, 2 deletions
diff --git a/avr/strerror.c b/avr/strerror.c
index bb151ad..4fdc63d 100644
--- a/avr/strerror.c
+++ b/avr/strerror.c
@@ -5,14 +5,23 @@
*/
#include "common.h"
-#include "errnum.h"
#include "cmd_fat.h"
static const FLASH char * const FLASH error_strings[] = {
FSTR("Unknown error"),
FSTR("Not enough memory"),
- FSTR("Bus timeout")
+ FSTR("Bus timeout"),
+ FSTR("Unexpected argument"),
+ FSTR("Invalid disk number"),
+ FSTR("Disk already attached"),
+ FSTR("Disk not attached"),
+ FSTR("Error opening file"),
+ FSTR("File already attached to other drive"),
+ FSTR("CPU is running"),
+ FSTR("Invalid argument"),
+ FSTR("Unexpected EOF"),
+
};
const FLASH char * my_strerror_P(ERRNUM errnum)