-/* $OpenBSD: apm.c,v 1.43 2023/07/02 19:02:28 cheloha Exp $ */
+/* $OpenBSD: apm.c,v 1.44 2024/05/29 06:39:13 jsg Exp $ */
/*-
* Copyright (c) 2001 Alexander Guy. All rights reserved.
error = EOPNOTSUPP; /* XXX */
break;
case APM_IOC_GETPOWER:
- power = (struct apm_power_info *)data;
+ power = (struct apm_power_info *)data;
error = (*get_apminfo)(power);
break;
default:
-/* $OpenBSD: apm.c,v 1.36 2024/05/28 09:40:40 kettenis Exp $ */
+/* $OpenBSD: apm.c,v 1.37 2024/05/29 06:39:13 jsg Exp $ */
/*-
* Copyright (c) 2001 Alexander Guy. All rights reserved.
}
break;
case APM_IOC_GETPOWER:
- power = (struct apm_power_info *)data;
+ power = (struct apm_power_info *)data;
pm_battery_info(0, &batt);
-/* $OpenBSD: wsmux.c,v 1.57 2024/03/25 13:01:49 mvs Exp $ */
+/* $OpenBSD: wsmux.c,v 1.58 2024/05/29 06:39:13 jsg Exp $ */
/* $NetBSD: wsmux.c,v 1.37 2005/04/30 03:47:12 augustss Exp $ */
/*
error = wsmux_do_open(sc, evar);
if (error)
- wsevent_fini(evar);
+ wsevent_fini(evar);
return (error);
}