aboutsummaryrefslogtreecommitdiffstats
path: root/man4/vcs.4
diff options
context:
space:
mode:
Diffstat (limited to 'man4/vcs.4')
-rw-r--r--man4/vcs.46
1 files changed, 3 insertions, 3 deletions
diff --git a/man4/vcs.4 b/man4/vcs.4
index fb2d51e15e..7d189e7295 100644
--- a/man4/vcs.4
+++ b/man4/vcs.4
@@ -48,8 +48,8 @@ The devices for the first eight virtual consoles may be created by:
.nf
for x in 0 1 2 3 4 5 6 7 8; do
- mknod -m 644 /dev/vcs$x c 7 $x;
- mknod -m 644 /dev/vcsa$x c 7 $[$x+128];
+ mknod \-m 644 /dev/vcs$x c 7 $x;
+ mknod \-m 644 /dev/vcsa$x c 7 $[$x+128];
done
chown root:tty /dev/vcs*
.fi
@@ -93,7 +93,7 @@ there:
(void)read(fd, &attrib, 1);
printf("ch='%c' attrib=0x%02x\\n", ch, attrib);
attrib ^= 0x10;
- (void)lseek(fd, -1, 1);
+ (void)lseek(fd, \-1, 1);
(void)write(fd, &attrib, 1);
return 0;
}