diff options
author | msmith <msmith@FreeBSD.org> | 1998-01-22 02:44:54 +0000 |
---|---|---|
committer | msmith <msmith@FreeBSD.org> | 1998-01-22 02:44:54 +0000 |
commit | ceb8ae2e31ca3f5df00144ba01fdaa170adfbaab (patch) | |
tree | 029fc35236cb00896888c90426327d4c9c34bf28 /usr.bin/doscmd | |
parent | 37c49e0fb89a886e2dc3fe5a9c3cf2a8402e6d5e (diff) | |
download | FreeBSD-src-ceb8ae2e31ca3f5df00144ba01fdaa170adfbaab.zip FreeBSD-src-ceb8ae2e31ca3f5df00144ba01fdaa170adfbaab.tar.gz |
Printers under FreeBSD are /dev/lpt*
Diffstat (limited to 'usr.bin/doscmd')
-rw-r--r-- | usr.bin/doscmd/int17.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/doscmd/int17.c b/usr.bin/doscmd/int17.c index fc3eb7d..4c68ef3 100644 --- a/usr.bin/doscmd/int17.c +++ b/usr.bin/doscmd/int17.c @@ -29,7 +29,7 @@ * * BSDI int17.c,v 2.2 1996/04/08 19:32:48 bostic Exp * - * $Id: int17.c,v 1.3 1996/09/22 15:42:56 miff Exp $ + * $Id: int17.c,v 1.1 1997/08/09 01:42:48 dyson Exp $ */ #include "doscmd.h" @@ -138,7 +138,7 @@ open_printer(int printer) return; } } else { - sprintf(printer_name, "/dev/lp%d", printer); + sprintf(printer_name, "/dev/lpt%d", printer); debug(D_PRINTER, "Opening device %s\n", printer_name); if ((fd = open(printer_name, O_WRONLY)) < 0) { perror(printer_name); |