mitsu70x: Fix a missing \n in a log message

master
Solomon Peachy 2 years ago
parent f8209b6bec
commit 6fb05d5cf0
  1. 7
      Makefile
  2. 2
      backend_mitsu70x.c

@ -91,6 +91,10 @@ Q=
E=true
endif
# Debugging
#CFLAGS += -fsanitize=address -fPIC
#LDFLAGS += -lasan
# Flags
CFLAGS += -Wall -Wextra -Wformat-security -funit-at-a-time -g -Og -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -std=c99 -D_POSIX_C_SOURCE=200809L # -Wconversion
LDFLAGS += $(shell pkg-config $(PKG_CONFIG_EXTRA) --libs libusb-1.0)
@ -99,9 +103,6 @@ CPPFLAGS += $(shell pkg-config $(PKG_CONFIG_EXTRA) --cflags libusb-1.0)
CPPFLAGS += $(OLD_URI) -DCORRTABLE_PATH=\"$(BACKEND_DATA_DIR)\"
LIBLDFLAGS = -g -shared
# Debugging
#CFLAGS += -fsanitize=address
# List of backends
BACKENDS = canonselphy canonselphyneo dnpds40 hiti kodak605 kodak1400 kodak6800 magicard mitsu70x mitsu9550 mitsud90 mitsup95d shinkos1245 shinkos2145 shinkos6145 shinkos6245 sonyupd sonyupdneo

@ -588,7 +588,7 @@ static int mitsu70x_attach(void *vctx, struct dyesub_connection *conn, uint8_t j
/* Attempt to open the library */
if (mitsu_loadlib(&ctx->lib, ctx->conn->type))
#endif
WARNING("Dynamic library support not loaded, will be unable to print.");
WARNING("Dynamic library support not loaded, will be unable to print!\n");
struct mitsu70x_printerstatus_resp resp;
int ret;

Loading…
Cancel
Save