sm-discuss AT lists.ibiblio.org
Subject: Public SourceMage Discussion List
List archive
- From: Treeve Jelbert <treeve AT scarlet.be>
- To: sm-discuss <sm-discuss AT lists.ibiblio.org>
- Subject: [SM-Discuss] shutdown problem
- Date: Mon, 21 Jan 2019 14:20:23 +0100
the shutdown command from simpleinit-msb no longer turns off the power when built with against linux-4.20.
There are lots of compile warnings, including
simpleinit.c:1070:10: warning: passing argument 1 of 'time' from incompatible pointer type [-Wincompatible-pointer-types]
time(&ut.ut_time);
^
In file included from simpleinit.c:225:
/usr/include/time.h:75:29: note: expected 'time_t *' {aka 'long int *'} but argument is of type 'int32_t *' {aka 'int *'}
extern time_t time (time_t *__timer) __THROW;
~~~~~~~~^~~~~~~
Can anyone fix this?
I found something on github, but that was worse.
Regards, Treeve
- [SM-Discuss] shutdown problem, Treeve Jelbert, 01/21/2019
Archive powered by MHonArc 2.6.24.