diff options
author | Leo C | 2018-08-31 23:36:06 +0200 |
---|---|---|
committer | Leo C | 2018-08-31 23:36:06 +0200 |
commit | 414caa77d5709bf3372d1f9245312781eee7961b (patch) | |
tree | f2a6db4c2723cafed364bf73cf48f28c6666f86b /include/command.h | |
parent | 85d34e1026065c340e2237e1d2ab56e868be86ec (diff) | |
download | z180-stamp-414caa77d5709bf3372d1f9245312781eee7961b.zip |
error handling: improved cmd_error() - print fatfs error strings
Diffstat (limited to 'include/command.h')
-rw-r--r-- | include/command.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/command.h b/include/command.h index d5eeb36..6109f9f 100644 --- a/include/command.h +++ b/include/command.h @@ -102,7 +102,7 @@ int cmd_process_error(cmd_tbl_t *cmdtp, int err); * * @fmt: */ -void cmd_error(const char *fmt, ...); +void cmd_error(int status, int errnum, const char *fmt, ...); /* * Monitor Command |