misc: Fix missing newlines in multiple error messages.

This commit is contained in:
Solomon Peachy 2019-10-03 20:26:00 -04:00
parent 29c5c12959
commit 5f34b1070f
6 changed files with 10 additions and 10 deletions

View file

@ -1228,7 +1228,7 @@ bypass:
/* Attach backend to device */
if (backend->attach(backend_ctx, dev, printer_type, endp_up, endp_down, jobid)) {
ERROR("Unable to attach to printer!");
ERROR("Unable to attach to printer!\n");
ret = CUPS_BACKEND_FAILED;
goto done_close;
}

View file

@ -1813,7 +1813,7 @@ skip_multicut:
return CUPS_BACKEND_CANCEL;
}
} else {
ERROR("Printer only supports legacy 2-inch cuts on 4x6 or 8x6 jobs!");
ERROR("Printer only supports legacy 2-inch cuts on 4x6 or 8x6 jobs!\n");
dnpds40_cleanup_job(job);
return CUPS_BACKEND_CANCEL;
}
@ -2019,7 +2019,7 @@ top:
#if 0 // XXX Fix 600dpi support on CW01
// have to read the last DPI, and send the correct CWD over?
if (ctx->dpi == 600 && strcmp("RV0334", *char*)resp) {
ERROR("600DPI prints not yet supported, need 600DPI CWD load");
ERROR("600DPI prints not yet supported, need 600DPI CWD load\n");
return CUPS_BACKEND_CANCEL;
}
#endif
@ -2974,7 +2974,7 @@ static int dnpds40_cmdline_arg(void *vctx, int argc, char **argv)
break;
}
if (sleeptime < 0 || sleeptime > 99) {
ERROR("Value out of range (0-99)");
ERROR("Value out of range (0-99)\n");
j = -1;
break;
}
@ -2989,7 +2989,7 @@ static int dnpds40_cmdline_arg(void *vctx, int argc, char **argv)
break;
}
if (keep < 0 || keep > 1) {
ERROR("Value out of range (0-1)");
ERROR("Value out of range (0-1)\n");
j = -1;
break;
}
@ -3033,7 +3033,7 @@ static int dnpds40_cmdline_arg(void *vctx, int argc, char **argv)
break;
}
if (enable < 0 || enable > 1) {
ERROR("Value out of range (0-1)");
ERROR("Value out of range (0-1)\n");
j = -1;
break;
}

View file

@ -429,7 +429,7 @@ static void* magicard_init(void)
{
struct magicard_ctx *ctx = malloc(sizeof(struct magicard_ctx));
if (!ctx) {
ERROR("Memory Allocation Failure!");
ERROR("Memory Allocation Failure!\n");
return NULL;
}
memset(ctx, 0, sizeof(struct magicard_ctx));

View file

@ -1969,7 +1969,7 @@ top:
/* Hold job if we have no legal decks for it, but printer is online. */
if (!legal) {
ERROR("Legal deck for printjob has errors, aborting job");
ERROR("Legal deck for printjob has errors, aborting job\n");
return CUPS_BACKEND_HOLD;
}

View file

@ -91,7 +91,7 @@ static void* upd_init(void)
{
struct upd_ctx *ctx = malloc(sizeof(struct upd_ctx));
if (!ctx) {
ERROR("Memory Allocation Failure!");
ERROR("Memory Allocation Failure!\n");
return NULL;
}
memset(ctx, 0, sizeof(struct upd_ctx));

View file

@ -61,7 +61,7 @@ static void* updneo_init(void)
{
struct updneo_ctx *ctx = malloc(sizeof(struct updneo_ctx));
if (!ctx) {
ERROR("Memory Allocation Failure!");
ERROR("Memory Allocation Failure!\n");
return NULL;
}
memset(ctx, 0, sizeof(struct updneo_ctx));