[PATCH] - unlink bugfix

Fix for recent unlink patch.
This commit is contained in:
kay.sievers@vrfy.org 2004-03-02 00:21:27 -08:00 committed by Greg KH
parent 5202dc9991
commit dc820c1bc1

View file

@ -176,7 +176,7 @@ static int unlink_entry(char *filename)
if ((stats.st_mode & S_IFMT) != S_IFDIR) { if ((stats.st_mode & S_IFMT) != S_IFDIR) {
retval = unlink(filename); retval = unlink(filename);
if (retval) { if (retval) {
dbg("unlink(%s) failed with error '%s', " dbg("unlink(%s) failed with error '%s'",
filename, strerror(errno)); filename, strerror(errno));
} }
} }