]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/kern/proc_info.c
xnu-7195.60.75.tar.gz
[apple/xnu.git] / bsd / kern / proc_info.c
index bcdc1c18d353bd3fed9e4f59e89b671fd8888731..b34ca8058d901b5d96fe23d52d0a9c8136108bf2 100644 (file)
@@ -2716,7 +2716,7 @@ proc_pidfdinfo(int pid, int flavor, int fd, user_addr_t buffer, uint32_t buffers
        break;
 
        case PROC_PIDFDPSEMINFO: {
-               if ((error = fp_get_ftype(p, fd, DTYPE_PSXSHM, EBADF, &fp)) != 0) {
+               if ((error = fp_get_ftype(p, fd, DTYPE_PSXSEM, EBADF, &fp)) != 0) {
                        goto out1;
                }
                error = pid_pseminfo(fp->fp_glob->fg_data, fp, p, fd, buffer, buffersize, retval);