* commit 'e34618a24cf82374d3f096f5aa6d9e011b16a519': toolbox: date: fix parameter type warnings
This commit is contained in:
commit
619376f41f
1 changed files with 1 additions and 1 deletions
|
|
@ -114,7 +114,7 @@ int date_main(int argc, char *argv[])
|
|||
//tv.tv_sec = mktime(&tm);
|
||||
//tv.tv_usec = 0;
|
||||
strtotimeval(argv[optind], &tv);
|
||||
printf("time %s -> %d.%d\n", argv[optind], tv.tv_sec, tv.tv_usec);
|
||||
printf("time %s -> %lu.%lu\n", argv[optind], tv.tv_sec, tv.tv_usec);
|
||||
fd = open("/dev/alarm", O_RDWR);
|
||||
ts.tv_sec = tv.tv_sec;
|
||||
ts.tv_nsec = tv.tv_usec * 1000;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue