diff options
author | Marin Ramesa <mpr@hi.t-com.hr> | 2013-12-16 23:55:12 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-12-17 19:02:20 +0100 |
commit | f4963a52e96230374826137cce44813c94853e6f (patch) | |
tree | f2cb67804faa33f4a735b9781f5bf77a830782c4 /device/kmsg.c | |
parent | 68bbdd1e18a87afede6cbdffdb8c7078ed3fa835 (diff) |
device: qualify pointers whose dereferenced values are constant with const
Diffstat (limited to 'device/kmsg.c')
-rw-r--r-- | device/kmsg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/device/kmsg.c b/device/kmsg.c index 7034bfc..40956dd 100644 --- a/device/kmsg.c +++ b/device/kmsg.c @@ -61,7 +61,7 @@ kmsginit (void) /* Kernel Message Open Handler */ io_return_t -kmsgopen (dev_t dev, int flag, io_req_t ior) +kmsgopen (dev_t dev, int flag, const io_req_t ior) { simple_lock (&kmsg_lock); if (kmsg_in_use) |