typo
authorKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Sat, 16 Apr 1988 10:00:57 +0000 (02:00 -0800)
committerKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Sat, 16 Apr 1988 10:00:57 +0000 (02:00 -0800)
SCCS-vsn: usr.bin/uucp/acucntrl/acucntrl.c 5.13

usr/src/usr.bin/uucp/acucntrl/acucntrl.c

index 0baa41a..0a34dd9 100644 (file)
@@ -1,5 +1,5 @@
 #ifndef lint
 #ifndef lint
-static char sccsid[] = "@(#)acucntrl.c 5.12    (Berkeley) %G%";
+static char sccsid[] = "@(#)acucntrl.c 5.13    (Berkeley) %G%";
 #endif
 
 /*  acucntrl - turn around tty line between dialin and dialout
 #endif
 
 /*  acucntrl - turn around tty line between dialin and dialout
@@ -747,7 +747,7 @@ char *ttyline; int enable;
                        }
                        cflags = flags;
                        (void)lseek(kmem, (off_t) &(((char *)addr)[unit]), 0);
                        }
                        cflags = flags;
                        (void)lseek(kmem, (off_t) &(((char *)addr)[unit]), 0);
-                       (void)write(kmem, (char *) &flags, sizeof cflags);
+                       (void)write(kmem, (char *) &cflags, sizeof cflags);
                        break;
                default:
                        fprintf(stderr, "Unknown device type\n");
                        break;
                default:
                        fprintf(stderr, "Unknown device type\n");