diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2021-10-24 16:57:31 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2021-10-24 16:57:31 +0000 |
commit | c8be2ba43488e53d0b110913fc7daaad40a60ccf (patch) | |
tree | e0efa2bfe34c32cb37768fa2744cbe4764f49a69 /sys/scsi/mpath.c | |
parent | 0dd9ae661fa85df8ed28132ccebb89f217a8a0a2 (diff) |
Constify struct cfattach.
ok visa@ a long time ago, ok krw@
Diffstat (limited to 'sys/scsi/mpath.c')
-rw-r--r-- | sys/scsi/mpath.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/scsi/mpath.c b/sys/scsi/mpath.c index 69d937f0cad..d87c826642f 100644 --- a/sys/scsi/mpath.c +++ b/sys/scsi/mpath.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mpath.c,v 1.54 2020/09/22 19:32:53 krw Exp $ */ +/* $OpenBSD: mpath.c,v 1.55 2021/10/24 16:57:30 mpi Exp $ */ /* * Copyright (c) 2009 David Gwynne <dlg@openbsd.org> @@ -73,7 +73,7 @@ struct mpath_softc { struct mpath_softc *mpath; -struct cfattach mpath_ca = { +const struct cfattach mpath_ca = { sizeof(struct mpath_softc), mpath_match, mpath_attach |