]> git.ipfire.org Git - thirdparty/man-pages.git/blobdiff - man4/vcs.4
hyphen/dash fixes
[thirdparty/man-pages.git] / man4 / vcs.4
index fb2d51e15efc0ad3ca2b757cec633224e354f7c2..7d189e7295310c32cdcf0580281583c74345fcad 100644 (file)
@@ -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;
        }