aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordacctal <donotcontactmevia@email.invalid>2026-06-25 21:44:43 +0000
committerdacctal <donotcontactmevia@email.invalid>2026-06-25 21:44:43 +0000
commitb41654d159192ed8b97af8ab3fa7426c9e6443b6 (patch)
treecc99c0bfb70d1ca770e4a6eb9328ce851f7cd20b
parent892ef493eb34216b3bbfb04d6b24b756c87b334c (diff)
mnpx: fixed some typos
-rw-r--r--CONTRIBUTING.md2
-rw-r--r--Makefile2
-rw-r--r--src/lua_state.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 2872982..6809b8f 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -3,7 +3,7 @@ Do not submit any AI-generated code.
To contribute to pkgit, you should go to the xmpp muc `pkgit@muc.symlinx.net` and drop your patch file which *should* contain the changes you made.
-Before submitting a patch, you MUST test the funcitonality of said patch, along with the rest of pkgit's features:
+Before submitting a patch, you MUST test the functionality of said patch, along with the rest of pkgit's features:
```
pkgit add [url]
pkgit build [path] # should be the root dir of a project with a valid build system
diff --git a/Makefile b/Makefile
index d90be51..f1c6e22 100644
--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,7 @@ PREFIX ?= /usr/local
OBJDIR = obj
SRCS = $(wildcard src/*.c)
OBJS = $(SRCS:src/%.c=$(OBJDIR)/%.o)
-CFLAGS += $(shell pkg-config --cflags luajit) -I./include -Wno-format-truncation -std=c99 -D_XOPEN_SOURCE=700
+CFLAGS += $(shell pkg-config --cflags luajit) -I./include -Wno-format-truncation -std=c99 -D_XOPEN_SOURCE=700 -Wall -Wextra
default: pkgit
diff --git a/src/lua_state.c b/src/lua_state.c
index 435d602..7b038b6 100644
--- a/src/lua_state.c
+++ b/src/lua_state.c
@@ -41,7 +41,7 @@ void init_lua_state() {
"%s cannot run configuration script: %s\n",
print_error, lua_tostring(L, -1)
);
- printf("%s to generate a configration file, head into the", print_pkgit);
+ printf("%s to generate a configuration file, head into the", print_pkgit);
printf(" root directory of the pkgit source and run `make defconfig`\n");
exit(EXIT_FAILURE);
}