Skip to content

Commit

Permalink
Fix indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
marcransome committed Mar 16, 2024
1 parent 0d2ca5f commit efb2152
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,18 @@

static const char *
flog_error_map[] = {
[FLOG_ERROR_NONE] = "none",
[FLOG_ERROR_ALLOC] = "allocation failed",
[FLOG_ERROR_APPEND] = "unable to append log message to file",
[FLOG_ERROR_LVL] = "unknown log level",
[FLOG_ERROR_MSG] = "message string required",
[FLOG_ERROR_SUBSYS] = "category option requires subsystem option to be set",
[FLOG_ERROR_OPTS] = "invalid options",
[FLOG_ERROR_NONE] = "none",
[FLOG_ERROR_ALLOC] = "allocation failed",
[FLOG_ERROR_APPEND] = "unable to append log message to file",
[FLOG_ERROR_LVL] = "unknown log level",
[FLOG_ERROR_MSG] = "message string required",
[FLOG_ERROR_SUBSYS] = "category option requires subsystem option to be set",
[FLOG_ERROR_OPTS] = "invalid options",
};

const char *
flog_error_string(FlogError error) {
return flog_error_map[error];
return flog_error_map[error];
}

void
Expand Down

0 comments on commit efb2152

Please sign in to comment.