mirror of
				https://git.proxmox.com/git/mirror_zfs.git
				synced 2025-10-26 18:05:04 +03:00 
			
		
		
		
	FreeBSD: Remove stray debug printf
Reviewed-by: Ryan Moeller <ryan@iXsystems.com> Reviewed-by: Alexander Motin <mav@FreeBSD.org> Reviewed-by: Richard Yao <richard.yao@alumni.stonybrook.edu> Signed-off-by: Doug Rabson <dfr@rabson.org> Closes #14286 Closes #14287
This commit is contained in:
		
							parent
							
								
									a2aabac123
								
							
						
					
					
						commit
						70b1b5bb98
					
				| @ -132,16 +132,13 @@ zfsdev_ioctl(struct cdev *dev, ulong_t zcmd, caddr_t arg, int flag, | |||||||
| 	len = IOCPARM_LEN(zcmd); | 	len = IOCPARM_LEN(zcmd); | ||||||
| 	vecnum = zcmd & 0xff; | 	vecnum = zcmd & 0xff; | ||||||
| 	zp = (void *)arg; | 	zp = (void *)arg; | ||||||
| 	uaddr = (void *)zp->zfs_cmd; |  | ||||||
| 	error = 0; | 	error = 0; | ||||||
| 	zcl = NULL; | 	zcl = NULL; | ||||||
| 
 | 
 | ||||||
| 	if (len != sizeof (zfs_iocparm_t)) { | 	if (len != sizeof (zfs_iocparm_t)) | ||||||
| 		printf("len %d vecnum: %d sizeof (zfs_cmd_t) %ju\n", |  | ||||||
| 		    len, vecnum, (uintmax_t)sizeof (zfs_cmd_t)); |  | ||||||
| 		return (EINVAL); | 		return (EINVAL); | ||||||
| 	} |  | ||||||
| 
 | 
 | ||||||
|  | 	uaddr = (void *)zp->zfs_cmd; | ||||||
| 	zc = kmem_zalloc(sizeof (zfs_cmd_t), KM_SLEEP); | 	zc = kmem_zalloc(sizeof (zfs_cmd_t), KM_SLEEP); | ||||||
| 	/*
 | 	/*
 | ||||||
| 	 * Remap ioctl code for legacy user binaries | 	 * Remap ioctl code for legacy user binaries | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Doug Rabson
						Doug Rabson