diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-04-17 21:28:23 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-04-17 21:28:23 +0000 |
commit | a55fef161900bf9068b3e6d3ae5f1cdf85133b8c (patch) | |
tree | cbfda3b8558dd16e9ebf720c5214b04365fae801 | |
parent | a0419cfbee99091a377cea5f7e40714f3dbbaca1 (diff) |
fix tab expansion
-rw-r--r-- | sys/arch/i386/stand/libsa/dev_i386.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/i386/stand/libsa/dev_i386.c b/sys/arch/i386/stand/libsa/dev_i386.c index 6619490a236..bf1bd19cf2c 100644 --- a/sys/arch/i386/stand/libsa/dev_i386.c +++ b/sys/arch/i386/stand/libsa/dev_i386.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dev_i386.c,v 1.8 1997/04/15 21:35:13 mickey Exp $ */ +/* $OpenBSD: dev_i386.c,v 1.9 1997/04/17 21:28:22 deraadt Exp $ */ /* * Copyright (c) 1996 Michael Shalayeff @@ -113,8 +113,9 @@ putchar(c) switch(c) { case '\t': - while(++pos % 8) + do putc(' '); + while(++pos % 8); break; case '\n': putc('\r'); |