commit | f61aa76e456567b622cb0b6e5eb33de394600948 | [log] [tgz] |
---|---|---|
author | Theodore Ts'o <tytso@mit.edu> | Mon Aug 28 18:04:11 2017 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Mon Aug 28 18:17:26 2017 -0400 |
tree | ceb79ff064bf5fb6b3b140dc86147c10a05b648b | |
parent | 3242252453a9088ca0f54161bd8d7fd32dff9591 [diff] |
Fix FreeBSD portability problem caused by it using character mode disk devices We were using S_ISBLK() to test if a device could be used as a disk device. This doesn't work for FreeBSD. We need to test for S_ISBLK() || S_ISCHR(). Signed-off-by: Theodore Ts'o <tytso@mit.edu>