summaryrefslogtreecommitdiffstats
path: root/vncterm
diff options
context:
space:
mode:
authordscho <dscho>2003-08-06 15:12:49 +0000
committerdscho <dscho>2003-08-06 15:12:49 +0000
commit4fcb60871bb33d48e68bbd8f40a84aa4cfa2c805 (patch)
treece851972d9b71807b4e84e004d9d1356c3d002cb /vncterm
parent79c414ab99d16b92e6436388cfb9f70f7c04ccde (diff)
downloadlibvncserver-4fcb60871bb33d48e68bbd8f40a84aa4cfa2c805.zip
libvncserver-4fcb60871bb33d48e68bbd8f40a84aa4cfa2c805.tar.gz
rfbErr introduced
Diffstat (limited to 'vncterm')
-rw-r--r--vncterm/LinuxVNC.c8
-rw-r--r--vncterm/VNCommand.c2
2 files changed, 5 insertions, 5 deletions
diff --git a/vncterm/LinuxVNC.c b/vncterm/LinuxVNC.c
index dfb961e..0817fbb 100644
--- a/vncterm/LinuxVNC.c
+++ b/vncterm/LinuxVNC.c
@@ -57,7 +57,7 @@ void do_key(rfbBool down,rfbKeySym keySym,rfbClientPtr cl)
tty_inject_device=open(device,O_WRONLY);
ret=ioctl(tty_inject_device,TIOCSTI,&keySym);
if(ret<0)
- rfbLog("Couldn't reopen device %s!\n",device);
+ rfbErr("Couldn't reopen device %s!\n",device);
}
}
}
@@ -88,7 +88,7 @@ int main(int argc,char **argv)
if(argc>1) {
if((tty=atoi(argv[1]))<1) {
- rfbLog("Usage: %s [tty_number [vnc args]]\n",argv[0]);
+ rfbErr("Usage: %s [tty_number [vnc args]]\n",argv[0]);
exit(1);
} else {
argv++;
@@ -100,7 +100,7 @@ int main(int argc,char **argv)
sprintf(tty_device,"/dev/tty%d",tty);
if((tty_inject_device=open(tty_device,O_WRONLY))<0) {
- rfbLog("Couldn't open tty device %s!\n",tty_device);
+ rfbErr("Couldn't open tty device %s!\n",tty_device);
exit(1);
}
rfbLog("Using device %s.\n",tty_device);
@@ -142,7 +142,7 @@ int main(int argc,char **argv)
if(!console->currentlyMarking) {
tty_file=fopen(tty_device,"rb");
if(!tty_file) {
- rfbLog("cannot open device \"%s\"\n",
+ rfbErr("cannot open device \"%s\"\n",
tty_device);
exit(1);
}
diff --git a/vncterm/VNCommand.c b/vncterm/VNCommand.c
index 7292350..358aa1f 100644
--- a/vncterm/VNCommand.c
+++ b/vncterm/VNCommand.c
@@ -35,7 +35,7 @@ int main(int argc, char **argv)
if(programArg0<argc) {
int in[2],out[2],err[2],pid;
if(pipe(in)<0 || pipe(out)<0 || pipe(err)<0) {
- rfbLog("Couldn't make pipes!");
+ rfbErr("Couldn't make pipes!");
return(1);
}
OpenPOWER on IntegriCloud