summaryrefslogtreecommitdiffstats
path: root/sys/dev/streams
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2002-12-13 22:41:47 +0000
committeralfred <alfred@FreeBSD.org>2002-12-13 22:41:47 +0000
commit4f48184fb2c8948c406b21c3f802b5b281cef957 (patch)
treea1ef524330ea7e253fb665abea3ddb594cde69fc /sys/dev/streams
parentd19b4e039d47537b44233aae83d03b974d29d771 (diff)
downloadFreeBSD-src-4f48184fb2c8948c406b21c3f802b5b281cef957.zip
FreeBSD-src-4f48184fb2c8948c406b21c3f802b5b281cef957.tar.gz
Backout removal SCARGS, the code freeze is only "selectively" over.
Diffstat (limited to 'sys/dev/streams')
-rw-r--r--sys/dev/streams/streams.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/streams/streams.c b/sys/dev/streams/streams.c
index 66ea3fe..41adb1a 100644
--- a/sys/dev/streams/streams.c
+++ b/sys/dev/streams/streams.c
@@ -315,9 +315,9 @@ svr4_ptm_alloc(td)
register_t fd = -1;
int error;
- oa.path = path;
- oa.flags = O_RDWR;
- oa.mode = 0;
+ SCARG(&oa, path) = path;
+ SCARG(&oa, flags) = O_RDWR;
+ SCARG(&oa, mode) = 0;
while (fd == -1) {
ptyname[8] = ttyletters[l];
OpenPOWER on IntegriCloud