Fix a warning by adding a missing 'const'.

MFC after:	1 week
This commit is contained in:
John Baldwin 2005-05-27 19:28:04 +00:00
parent 5b09b18204
commit 9389b62e52
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=146697
2 changed files with 2 additions and 2 deletions

View File

@ -230,7 +230,7 @@ i386_fmtdev(void *vdev)
* Set currdev to suit the value being supplied in (value)
*/
int
i386_setcurrdev(struct env_var *ev, int flags, void *value)
i386_setcurrdev(struct env_var *ev, int flags, const void *value)
{
struct i386_devdesc *ncurr;
int rv;

View File

@ -59,7 +59,7 @@ struct i386_devdesc
int i386_getdev(void **vdev, const char *devspec, const char **path);
char *i386_fmtdev(void *vdev);
int i386_setcurrdev(struct env_var *ev, int flags, void *value);
int i386_setcurrdev(struct env_var *ev, int flags, const void *value);
extern struct devdesc currdev; /* our current device */