Changeset 7c3fb9b in mainline for uspace/app/bdsh/errors.c


Ignore:
Timestamp:
2018-05-17T08:29:01Z (6 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6ff23ff
Parents:
fac0ac7
git-author:
Jiri Svoboda <jiri@…> (2018-05-16 17:28:17)
git-committer:
Jiri Svoboda <jiri@…> (2018-05-17 08:29:01)
Message:

Fix block comment formatting (ccheck).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/bdsh/errors.c

    rfac0ac7 r7c3fb9b  
    4444
    4545
    46 /* Look up errno in cl_errors and return the corresponding string.
    47  * Return NULL if not found */
     46/** Look up errno in cl_errors and return the corresponding string.
     47 *
     48 * Return NULL if not found
     49 */
    4850static const char *err2str(int err)
    4951{
     
    5557}
    5658
    57 /* Print an error report signifying errno, which is translated to
    58  * its corresponding human readable string. If errno > 0, raise the
    59  * cli_quit int that tells the main program loop to exit immediately */
    60 
     59/** Print an error report signifying errno
     60 *
     61 * errno is translated to its corresponding human readable string.
     62 * If errno > 0, raise the cli_quit int that tells the main program loop
     63 * to exit immediately
     64 */
    6165void cli_error(int err, const char *fmt, ...)
    6266{
     
    7175                printf(" (Unknown Error %d)\n", err);
    7276
    73         /* If fatal, raise cli_quit so that we try to exit
     77        /*
     78         * If fatal, raise cli_quit so that we try to exit
    7479         * gracefully. This will break the main loop and
    75          * invoke the destructor */
     80         * invoke the destructor
     81         */
    7682        if (err == CL_EFATAL)
    7783                cli_quit = 1;
Note: See TracChangeset for help on using the changeset viewer.