Pass pointer to drmModeRmMode.

main
Alan Hourihane 2007-11-05 10:00:43 +00:00
parent 5e86f67a34
commit 0bee83a8c8
1 changed files with 1 additions and 1 deletions

View File

@ -368,7 +368,7 @@ uint32_t drmModeAddMode(int fd, struct drm_mode_modeinfo *mode_info)
int drmModeRmMode(int fd, uint32_t mode_id) int drmModeRmMode(int fd, uint32_t mode_id)
{ {
return ioctl(fd, DRM_IOCTL_MODE_RMMODE, mode_id); return ioctl(fd, DRM_IOCTL_MODE_RMMODE, &mode_id);
} }
int drmModeAttachMode(int fd, uint32_t output_id, uint32_t mode_id) int drmModeAttachMode(int fd, uint32_t output_id, uint32_t mode_id)