author | sandman <sandman> | 2002-06-26 17:42:48 (UTC) |
---|---|---|
committer | sandman <sandman> | 2002-06-26 17:42:48 (UTC) |
commit | 1ddf9aa5ffc8dbb4ba290fa6a439b2d7681a0038 (patch) (unidiff) | |
tree | d34f5076bfd68ed6bdae0af1a475d9118fef3879 | |
parent | 18905bcc671622ab11b4e3d4447e4cd34f7308ee (diff) | |
download | opie-1ddf9aa5ffc8dbb4ba290fa6a439b2d7681a0038.zip opie-1ddf9aa5ffc8dbb4ba290fa6a439b2d7681a0038.tar.gz opie-1ddf9aa5ffc8dbb4ba290fa6a439b2d7681a0038.tar.bz2 |
The embedix arm-linux-strip does not accept -s but --strip-all (weird)
Fixed a RTC get time ioctl bug in opiealarm.
-rw-r--r-- | core/opiealarm/Makefile | 2 | ||||
-rw-r--r-- | core/opiealarm/opiealarm.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/core/opiealarm/Makefile b/core/opiealarm/Makefile index e988abf..f20d451 100644 --- a/core/opiealarm/Makefile +++ b/core/opiealarm/Makefile | |||
@@ -15,3 +15,3 @@ $(DESTDIR)/opiealarm: opiealarm.c | |||
15 | $(CC) $(CFLAGS) opiealarm.c -o $(DESTDIR)/opiealarm $(LDFLAGS) | 15 | $(CC) $(CFLAGS) opiealarm.c -o $(DESTDIR)/opiealarm $(LDFLAGS) |
16 | $(STRIP) -s $(DESTDIR)/opiealarm | 16 | $(STRIP) --strip-all $(DESTDIR)/opiealarm |
17 | chmod u+s $(DESTDIR)/opiealarm | 17 | chmod u+s $(DESTDIR)/opiealarm |
diff --git a/core/opiealarm/opiealarm.c b/core/opiealarm/opiealarm.c index 71367b3..ce0103e 100644 --- a/core/opiealarm/opiealarm.c +++ b/core/opiealarm/opiealarm.c | |||
@@ -245,3 +245,3 @@ int suspend ( int fix_rtc ) | |||
245 | memset ( &rtc, 0, sizeof ( struct tm )); | 245 | memset ( &rtc, 0, sizeof ( struct tm )); |
246 | if ( ioctl ( fd, RTC_ALM_SET, &rtc ) < 0 ) | 246 | if ( ioctl ( fd, RTC_RD_TIME, &rtc ) < 0 ) |
247 | error_msg_and_die ( 1, "ioctl RTC_RD_TIME" ); | 247 | error_msg_and_die ( 1, "ioctl RTC_RD_TIME" ); |