mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2024-12-23 23:29:05 +01:00
Add final line break to FatalError() calls
It expects the callers to include this, so make sure we're consistently providing one.
This commit is contained in:
parent
77cc62ecc0
commit
9eca28a084
@ -155,10 +155,10 @@ void vncExtensionInit(void)
|
||||
vncExtGeneration = vncGetServerGeneration();
|
||||
|
||||
if (vncGetScreenCount() > MAXSCREENS)
|
||||
vncFatalError("vncExtensionInit: too many screens");
|
||||
vncFatalError("vncExtensionInit: too many screens\n");
|
||||
|
||||
if (sizeof(ShortRect) != sizeof(struct UpdateRect))
|
||||
vncFatalError("vncExtensionInit: Incompatible ShortRect size");
|
||||
vncFatalError("vncExtensionInit: Incompatible ShortRect size\n");
|
||||
|
||||
vncAddExtension();
|
||||
|
||||
@ -264,7 +264,7 @@ void vncExtensionInit(void)
|
||||
vncHooksInit(scr);
|
||||
}
|
||||
} catch (rdr::Exception& e) {
|
||||
vncFatalError("vncExtInit: %s",e.str());
|
||||
vncFatalError("vncExtInit: %s\n",e.str());
|
||||
}
|
||||
|
||||
vncRegisterBlockHandlers();
|
||||
@ -278,7 +278,7 @@ void vncExtensionClose(void)
|
||||
desktop[scr] = NULL;
|
||||
}
|
||||
} catch (rdr::Exception& e) {
|
||||
vncFatalError("vncExtInit: %s",e.str());
|
||||
vncFatalError("vncExtInit: %s\n",e.str());
|
||||
}
|
||||
}
|
||||
|
||||
@ -447,7 +447,7 @@ void vncRefreshScreenLayout(int scrIdx)
|
||||
try {
|
||||
desktop[scrIdx]->refreshScreenLayout();
|
||||
} catch (rdr::Exception& e) {
|
||||
vncFatalError("%s", e.str());
|
||||
vncFatalError("vncRefreshScreenLayout: %s\n", e.str());
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -596,7 +596,7 @@ ddxProcessArgument(int argc, char *argv[], int i)
|
||||
if (displayNumFree(displayNum)) break;
|
||||
|
||||
if (displayNum == 100)
|
||||
FatalError("Xvnc error: no free display number for -inetd");
|
||||
FatalError("Xvnc error: no free display number for -inetd\n");
|
||||
}
|
||||
|
||||
display = displayNumStr;
|
||||
@ -1794,7 +1794,7 @@ InitOutput(ScreenInfo *scrInfo, int argc, char **argv)
|
||||
{
|
||||
if (-1 == AddScreen(vfbScreenInit, argc, argv))
|
||||
{
|
||||
FatalError("Couldn't add screen %d", i);
|
||||
FatalError("Couldn't add screen %d\n", i);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user