diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2022-12-23 15:07:35 +0000 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2022-12-23 15:07:35 +0000 |
commit | 62253b9d1720fb3ce962a5a6b2bdf5588267be8a (patch) | |
tree | 67c2d5853b15ab65f837d9720ab241db841ef22d /sys/src/libc | |
parent | 56768a36df13d7703c5fce283fff2dbb5c0094da (diff) |
libc: use /fd instead of #d in iounit()
Diffstat (limited to 'sys/src/libc')
-rw-r--r-- | sys/src/libc/9sys/iounit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/libc/9sys/iounit.c b/sys/src/libc/9sys/iounit.c index 02ee77ee4..73b4ebabd 100644 --- a/sys/src/libc/9sys/iounit.c +++ b/sys/src/libc/9sys/iounit.c @@ -12,7 +12,7 @@ iounit(int fd) int i, cfd; char buf[128], *args[10]; - snprint(buf, sizeof buf, "#d/%dctl", fd); + snprint(buf, sizeof buf, "/fd/%dctl", fd); cfd = open(buf, OREAD|OCEXEC); if(cfd < 0) return 0; |