diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-06-04 17:37:17 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-06-04 17:37:17 +0000 |
commit | aad43b3794b5dd9b3319f5552a8818a730bbe83a (patch) | |
tree | 7598a94c8db20190067c8bf5c2d87c3d9f5982fe | |
parent | a76522be0e65260fa24df62bbc8d3feeb6a6e4f1 (diff) |
fix stdout line width handling; different from fix in 3289
-rw-r--r-- | usr.bin/rusers/rusers.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.bin/rusers/rusers.c b/usr.bin/rusers/rusers.c index f7979bc73e0..148eebe3015 100644 --- a/usr.bin/rusers/rusers.c +++ b/usr.bin/rusers/rusers.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rusers.c,v 1.22 2003/06/03 01:52:41 millert Exp $ */ +/* $OpenBSD: rusers.c,v 1.23 2003/06/04 17:37:16 deraadt Exp $ */ /* * Copyright (c) 2001, 2003 Todd C. Miller <Todd.Miller@courtesan.com> @@ -44,7 +44,7 @@ */ #ifndef lint -static const char rcsid[] = "$OpenBSD: rusers.c,v 1.22 2003/06/03 01:52:41 millert Exp $"; +static const char rcsid[] = "$OpenBSD: rusers.c,v 1.23 2003/06/04 17:37:16 deraadt Exp $"; #endif /* not lint */ #include <sys/param.h> @@ -149,7 +149,8 @@ main(int argc, char **argv) termwidth = win.ws_col; else termwidth = 80; - } + } else + termwidth = 80; setlinebuf(stdout); if (argc == optind) { |