Skip to content

Commit

Permalink
Fixed typos
Browse files Browse the repository at this point in the history
Signed-off-by: Eran Ifrah <eifrah@amazon.com>
  • Loading branch information
eifrah-aws committed Oct 24, 2024
1 parent bfc2991 commit 83a5840
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/debug.c
Original file line number Diff line number Diff line change
Expand Up @@ -1022,7 +1022,7 @@ void debugCommand(client *c) {
}

/* =========================== Crash handling ============================== */
/* Make serverAssert a weak symbol so it can be overriden during link time */
/* Make serverAssert a weak symbol so it can be overridden during link time */
__attribute__((noinline, weak)) void _serverAssert(const char *estr, const char *file, int line) {
int new_report = bugReportStart();
serverLog(LL_WARNING, "=== %sASSERTION FAILED ===", new_report ? "" : "RECURSIVE ");
Expand Down
2 changes: 1 addition & 1 deletion src/server.c
Original file line number Diff line number Diff line change
Expand Up @@ -6720,7 +6720,7 @@ serverTestProc *getTestProcByName(const char *name) {
}
#endif

/* Make main a weak symbol so it can be overriden during link time, e.g. test_main.c overides it */
/* Make main a weak symbol so it can be overridden during link time, e.g. test_main.c overides it */
int __attribute__((weak)) main(int argc, char **argv) {
struct timeval tv;
int j;
Expand Down

0 comments on commit 83a5840

Please sign in to comment.