X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fdi-set.c;h=cea3cea1be2019843cdae8289e43d5ea3888921a;hb=cafeb9ce71d2bf8fa489a28182e6e2a33d3ef420;hp=5e839a311ec1d38ad252cb3aafdf429d995d215e;hpb=6f0680eb29a1737d704a1df26aafc00490cd34d8;p=gnulib.git diff --git a/lib/di-set.c b/lib/di-set.c index 5e839a311..cea3cea1b 100644 --- a/lib/di-set.c +++ b/lib/di-set.c @@ -1,6 +1,6 @@ /* Set operations for device-inode pairs stored in a space-efficient manner. - Copyright 2009-2011 Free Software Foundation, Inc. + Copyright 2009-2012 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -233,7 +233,7 @@ di_set_insert (struct di_set *dis, dev_t dev, ino_t ino) return -1; /* Put I into the inode set. */ - return hash_insert0 (ino_set, (void *) i, NULL); + return hash_insert_if_absent (ino_set, (void const *) i, NULL); } /* Look up the DEV,INO pair in the set DIS.