rtc.c: fix decoding of struct rtc_wkalrm
* rtc.c (decode_rtc_wkalrm): Print field name of struct rtc_wkalrm.time.
This commit is contained in:
parent
eea86017e1
commit
7e3a381c3d
2
rtc.c
2
rtc.c
@ -59,7 +59,7 @@ decode_rtc_wkalrm(struct tcb *tcp, const long addr)
|
||||
struct rtc_wkalrm wk;
|
||||
|
||||
if (!umove_or_printaddr(tcp, addr, &wk)) {
|
||||
tprintf("{enabled=%d, pending=%d, ", wk.enabled, wk.pending);
|
||||
tprintf("{enabled=%d, pending=%d, time=", wk.enabled, wk.pending);
|
||||
print_rtc_time(tcp, &wk.time);
|
||||
tprints("}");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user