-/* $OpenBSD: subr_disk.c,v 1.271 2023/02/10 07:00:12 miod Exp $ */
+/* $OpenBSD: subr_disk.c,v 1.272 2023/11/15 20:23:19 kn Exp $ */
/* $NetBSD: subr_disk.c,v 1.17 1996/03/16 23:17:08 christos Exp $ */
/*
}
int
-disk_map(char *path, char *mappath, int size, int flags)
+disk_map(const char *path, char *mappath, int size, int flags)
{
struct disk *dk, *mdk;
u_char uid[8];
-/* $OpenBSD: disk.h,v 1.37 2022/09/11 19:34:40 miod Exp $ */
+/* $OpenBSD: disk.h,v 1.38 2023/11/15 20:23:19 kn Exp $ */
/* $NetBSD: disk.h,v 1.11 1996/04/28 20:22:50 thorpej Exp $ */
/*
char *disk_readlabel(struct disklabel *, dev_t, char *, size_t);
-int disk_map(char *, char *, int, int);
+int disk_map(const char *, char *, int, int);
int duid_iszero(u_char *);
const char *duid_format(u_char *);