X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fdi-set.c;h=b757d49eb2c19333f16dbad3905c4728ce8c9e08;hb=f2c107574ca11e86b783aad91e7bcd3b7c8a0e91;hp=5e839a311ec1d38ad252cb3aafdf429d995d215e;hpb=6f0680eb29a1737d704a1df26aafc00490cd34d8;p=gnulib.git diff --git a/lib/di-set.c b/lib/di-set.c index 5e839a311..b757d49eb 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-2013 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.