11b6eef5bSThomas Moestl /*- 21b6eef5bSThomas Moestl * Copyright (c) 2002 by Thomas Moestl <tmm@FreeBSD.org>. 31b6eef5bSThomas Moestl * All rights reserved. 41b6eef5bSThomas Moestl * 51b6eef5bSThomas Moestl * Redistribution and use in source and binary forms, with or without 61b6eef5bSThomas Moestl * modification, are permitted provided that the following conditions 71b6eef5bSThomas Moestl * are met: 81b6eef5bSThomas Moestl * 1. Redistributions of source code must retain the above copyright 91b6eef5bSThomas Moestl * notice, this list of conditions and the following disclaimer. 101b6eef5bSThomas Moestl * 2. Redistributions in binary form must reproduce the above copyright 111b6eef5bSThomas Moestl * notice, this list of conditions and the following disclaimer in the 121b6eef5bSThomas Moestl * documentation and/or other materials provided with the distribution. 131b6eef5bSThomas Moestl * 141b6eef5bSThomas Moestl * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 151b6eef5bSThomas Moestl * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 161b6eef5bSThomas Moestl * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 171b6eef5bSThomas Moestl * IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, 181b6eef5bSThomas Moestl * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 191b6eef5bSThomas Moestl * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 201b6eef5bSThomas Moestl * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 211b6eef5bSThomas Moestl * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 221b6eef5bSThomas Moestl * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE 231b6eef5bSThomas Moestl * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 241b6eef5bSThomas Moestl */ 251b6eef5bSThomas Moestl 261b6eef5bSThomas Moestl #include <paths.h> 271b6eef5bSThomas Moestl 281b6eef5bSThomas Moestl #define PATH_DEV_OPENFIRM _PATH_DEV "openfirm" 29