cake
/
p7utils
Archived
1
0
Fork 0

Corrected p7os main error logging

This commit is contained in:
Thomas Touhey 2016-12-22 20:11:06 +01:00
parent cdbb4e2888
commit cf1a674913
1 changed files with 3 additions and 3 deletions

View File

@ -62,9 +62,9 @@ int main(int ac, char **av)
if (err) {
/* displaying error */
switch (err) {
case p7_error_nocalc: log(error_noconnexion);
case p7_error_noaccess: log(error_noaccess);
case p7_error_unsupported: log(error_unsupported);
case p7_error_nocalc: log(error_noconnexion); break;
case p7_error_noaccess: log(error_noaccess); break;
case p7_error_unsupported: log(error_unsupported); break;
default: log(error_unplanned, p7_strerror(err));
}