diff options
author | Gleb Kurtsou <gleb@FreeBSD.org> | 2014-12-17 07:27:19 +0000 |
---|---|---|
committer | Gleb Kurtsou <gleb@FreeBSD.org> | 2014-12-17 07:27:19 +0000 |
commit | dde58752dbf08343d9b74b48ffabedbf5ca2e7e8 (patch) | |
tree | 49e07a33f717fc11a77f96d21126c8dd675b430b /sys/dev/drm2 | |
parent | 9b3370541180604458bbc768f3fa6839ed4d938e (diff) | |
download | src-dde58752dbf08343d9b74b48ffabedbf5ca2e7e8.tar.gz src-dde58752dbf08343d9b74b48ffabedbf5ca2e7e8.zip |
Adjust printf format specifiers for dev_t and ino_t in kernel.
ino_t and dev_t are about to become uint64_t.
Reviewed by: kib, mckusick
Notes
Notes:
svn path=/head/; revision=275856
Diffstat (limited to 'sys/dev/drm2')
-rw-r--r-- | sys/dev/drm2/drm_sysctl.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/drm2/drm_sysctl.c b/sys/dev/drm2/drm_sysctl.c index aac21e6a486e..9564e68df854 100644 --- a/sys/dev/drm2/drm_sysctl.c +++ b/sys/dev/drm2/drm_sysctl.c @@ -155,7 +155,8 @@ static int drm_name_info DRM_SYSCTL_HANDLER_ARGS int retcode; int hasunique = 0; - DRM_SYSCTL_PRINT("%s 0x%x", dev->driver->name, dev2udev(dev->devnode)); + DRM_SYSCTL_PRINT("%s 0x%jx", dev->driver->name, + (uintmax_t)dev2udev(dev->devnode)); DRM_LOCK(dev); if (dev->unique) { |