diff options
author | 2008-11-23 12:29:32 +0000 | |
---|---|---|
committer | 2008-11-23 12:29:32 +0000 | |
commit | 74f3ea3743d2493b5b2db5b3673b31fb2ed2454b (patch) | |
tree | 0c1be71178d3ea9d8e66581bc969cace69f1361e | |
parent | Don't use ifp->if_xname if you can use the sc_dev.dv_xname instead. (diff) | |
download | wireguard-openbsd-74f3ea3743d2493b5b2db5b3673b31fb2ed2454b.tar.xz wireguard-openbsd-74f3ea3743d2493b5b2db5b3673b31fb2ed2454b.zip |
Use file input parameter as default device output and file output parameters
as default device input. That's what the man page says
-rw-r--r-- | usr.bin/aucat/aucat.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/aucat/aucat.c b/usr.bin/aucat/aucat.c index d71371f7fae..ae7d7bcf90f 100644 --- a/usr.bin/aucat/aucat.c +++ b/usr.bin/aucat/aucat.c @@ -1,4 +1,4 @@ -/* $OpenBSD: aucat.c,v 1.46 2008/11/20 10:10:01 ratchov Exp $ */ +/* $OpenBSD: aucat.c,v 1.47 2008/11/23 12:29:32 ratchov Exp $ */ /* * Copyright (c) 2008 Alexandre Ratchov <alex@caoua.org> * @@ -414,8 +414,8 @@ main(int argc, char **argv) argv += optind; if (!devpath) { - dipar = ipar; - dopar = opar; + dopar = ipar; + dipar = opar; } if (!l_flag && SLIST_EMPTY(&ifiles) && |