OSDN Git Service

blkid: fix blkid time diff bug
authorJeff Sharkey <jsharkey@android.com>
Wed, 16 Oct 2013 22:42:12 +0000 (15:42 -0700)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 25 Mar 2016 16:07:48 +0000 (12:07 -0400)
commit62bc8d19bdc640fe490ce2489c14591b5d356675
tree34dd1b5f8aface1d2f4d8127b6544420fc468354
parent5efe492d19ae6fc876b504a53621169f63f1ce96
blkid: fix blkid time diff bug

When calculating time diffs, use difftime() instead of risking
integer overflow.  Also build a "blkid" binary.

Addresses-Google-Bug: #11175082
Change-Id: I23521f45204574bb32f152926401c2cbad93175b

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
lib/blkid/probe.c