-/* $OpenBSD: autoconf.c,v 1.4 2013/04/08 09:42:26 jasper Exp $ */
+/* $OpenBSD: autoconf.c,v 1.5 2014/07/13 18:07:38 jasper Exp $ */
/*
* Copyright (c) 2009 Miodrag Vallat.
*
size_t len;
/*
- * Turn the U-Boot root device (root=/dev/octcf0) into a boot device.
+ * Turn the U-Boot root device (rootdev=/dev/octcf0) into a boot device.
*/
p = strrchr(uboot_rootdev, '/');
if (p == NULL)
-/* $OpenBSD: machdep.c,v 1.56 2014/07/13 14:16:09 jasper Exp $ */
+/* $OpenBSD: machdep.c,v 1.57 2014/07/13 18:07:38 jasper Exp $ */
/*
* Copyright (c) 2009, 2010 Miodrag Vallat.
/*
* XXX: We currently only expect one other argument,
- * argv[1], root=ROOTDEV.
+ * argv[1], rootdev=ROOTDEV.
*/
- if (strncmp(arg, "root=", 5) == 0) {
+ if (strncmp(arg, "rootdev=", 8) == 0) {
if (*uboot_rootdev == '\0') {
strlcpy(uboot_rootdev, arg,
sizeof(uboot_rootdev));