diff options
author | ache <ache@FreeBSD.org> | 2000-04-27 21:45:41 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2000-04-27 21:45:41 +0000 |
commit | 1ce5b73060cd981653d3ff469469f7800a5bd3cb (patch) | |
tree | 66aefabb376fbe163b05173c555b18cedd220a37 /bin/stty/stty.c | |
parent | ecbfef142fe07cfdc2340f8798a40ccb16381424 (diff) | |
download | FreeBSD-src-1ce5b73060cd981653d3ff469469f7800a5bd3cb.zip FreeBSD-src-1ce5b73060cd981653d3ff469469f7800a5bd3cb.tar.gz |
gfmt: set 'changed' flags only if something really changed.
Diffstat (limited to 'bin/stty/stty.c')
-rw-r--r-- | bin/stty/stty.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/bin/stty/stty.c b/bin/stty/stty.c index b9f0811..355d1cd 100644 --- a/bin/stty/stty.c +++ b/bin/stty/stty.c @@ -143,9 +143,7 @@ args: argc -= optind; } if (!strncmp(*argv, "gfmt1", sizeof("gfmt1") - 1)) { - gread(&i.t, &i.timeout, *argv + sizeof("gfmt1") - 1); - i.set = 1; - i.tset = 1; + gread(&i, *argv + sizeof("gfmt1") - 1); continue; } |