diff options
Diffstat (limited to 'vmsfunctions.c')
-rw-r--r-- | vmsfunctions.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vmsfunctions.c b/vmsfunctions.c index a76609c..daaa8b2 100644 --- a/vmsfunctions.c +++ b/vmsfunctions.c @@ -195,6 +195,7 @@ vms_stat (name, buf) status = sys$qiow(0,DevChan,IO$_ACCESS,&iosb,0,0, &FibDesc,&FileName,0,0,&Atr,0); + sys$dassgn (DevChan); if (!(status & 1)) return -1; status = iosb[0]; |