Commit 8ae7c11a authored by Daniel Abrecht's avatar Daniel Abrecht

Fix last remaining lintian warning

parent 3e441397
man/console-keyboard-multiplexer.1
......@@ -19,7 +19,7 @@ CC_OPTS += $(OPTIONS)
LD_OPTS += $(OPTIONS)
OBJECTS += build/console-keyboard-multiplexer.o
OBJECTS += build/console-keyboard-multiplexer.1.man.res.o
OBJECTS += build/man/console-keyboard-multiplexer.1.res.o
all: bin/console-keyboard-multiplexer
......@@ -30,7 +30,7 @@ all: bin/console-keyboard-multiplexer
build/%.o: src/%.c | build/.dir
$(CC) $(CC_OPTS) -c -o $@ $^
build/%.res.o: % | build/.dir
build/%.res.o: % | build/%/.dir
file="$^"; \
id="res_$$(printf '%s' "$$file"|sed 's/[^a-zA-Z0-9]/_/g'|sed 's/.*/\L\0/')"; \
( \
......
......@@ -4,7 +4,7 @@
.TH console-keyboard-multiplexer 1 "August 11 2019"
.\" Please adjust this date whenever revising the manpage.
.\"
.SH console-keyboard-multiplexer
.SH NAME
console-keyboard-multiplexer \- Displays a console-keyboard and another program in a single terminal
.
.SH SYNOPSIS
......
......@@ -651,7 +651,7 @@ int parseopts(int* pargc, char*** pargv){
}
void usage(bool explicit){
extern const char res_console_keyboard_multiplexer_1_man[];
extern const char res_man_console_keyboard_multiplexer_1[];
int manpipe[] = {-1,-1};
if(pipe(manpipe) == -1)
goto nope;
......@@ -660,7 +660,7 @@ void usage(bool explicit){
goto nope;
if(ret){
close(manpipe[0]);
dprintf(manpipe[1], res_console_keyboard_multiplexer_1_man);
dprintf(manpipe[1], res_man_console_keyboard_multiplexer_1);
close(manpipe[1]);
waitpid(ret, 0, 0);
return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment