diff options
Diffstat (limited to 'sys/dev/streams')
-rw-r--r-- | sys/dev/streams/streams.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/streams/streams.c b/sys/dev/streams/streams.c index 41adb1a..66ea3fe 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; - SCARG(&oa, path) = path; - SCARG(&oa, flags) = O_RDWR; - SCARG(&oa, mode) = 0; + oa.path = path; + oa.flags = O_RDWR; + oa.mode = 0; while (fd == -1) { ptyname[8] = ttyletters[l]; |