diff options
author | Greg McGary <greg@mcgary.org> | 1997-07-23 08:37:25 +0000 |
---|---|---|
committer | Greg McGary <greg@mcgary.org> | 1997-07-23 08:37:25 +0000 |
commit | dfcc40952ef816208853b54d6fb2b05b23c81a73 (patch) | |
tree | 844d20f20af54bce1e483b0ad7ce638d8e82e431 /libidu/idfile.c | |
parent | ed0761dee1f49bb70c11891835894124c314c613 (diff) | |
download | idutils-dfcc40952ef816208853b54d6fb2b05b23c81a73.tar.gz idutils-dfcc40952ef816208853b54d6fb2b05b23c81a73.tar.bz2 idutils-dfcc40952ef816208853b54d6fb2b05b23c81a73.zip |
assorted bug fixes
Diffstat (limited to 'libidu/idfile.c')
-rw-r--r-- | libidu/idfile.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libidu/idfile.c b/libidu/idfile.c index e377145..d27c4b3 100644 --- a/libidu/idfile.c +++ b/libidu/idfile.c @@ -85,8 +85,7 @@ locate_id_file_name (char const *arg) if (stat (file_name_buffer, &statb) != 0) return NULL; } - while (!((statb.st_ino == rootb.st_ino) || - (statb.st_dev == rootb.st_dev))); + while (statb.st_ino != rootb.st_ino || statb.st_dev != rootb.st_dev); return NULL; } |