-/* $OpenBSD: config.c,v 1.39 2018/01/04 15:19:56 ccardenas Exp $ */
+/* $OpenBSD: config.c,v 1.40 2018/01/05 13:34:52 jca Exp $ */
/*
* Copyright (c) 2015 Reyk Floeter <reyk@openbsd.org>
goto fail;
}
if (S_ISREG(stat_buf.st_mode) == 0) {
- log_warn("%s: cdrom %s is not a regular file", __func__,
+ log_warnx("%s: cdrom %s is not a regular file", __func__,
vcp->vcp_cdrom);
errno = VMD_CDROM_INVALID;
goto fail;
goto fail;
}
if (S_ISREG(stat_buf.st_mode) == 0) {
- log_warn("%s: disk %s is not a regular file", __func__,
+ log_warnx("%s: disk %s is not a regular file", __func__,
vcp->vcp_disks[i]);
errno = VMD_DISK_INVALID;
goto fail;