2 ===================================================================
3 RCS file: /cvs/gpe/base/gpe-conf/suid.c,v
4 retrieving revision 1.52
6 --- suid.c 16 Oct 2004 16:03:43 -0000 1.52
7 +++ suid.c 25 Oct 2004 15:00:56 -0000
10 else // if ok, update rtc time
12 + system("/sbin/hwclock --systohc");
13 system ("echo > /var/spool/at/trigger");
18 fscanf (in, "%ld", &t);
21 - "Error while setting the time: %d\n",
23 + fprintf (stderr, "Error while setting the time: %d\n",
25 else // if ok, update rtc time
27 + system("/sbin/hwclock --systohc");
28 system ("echo > /var/spool/at/trigger");