* smbfs.c (smbfs_nothingisopen): Warning fix for 64-bit systems.

(smbfs_free): Likewise.
This commit is contained in:
Pavel Roskin 2003-01-24 20:55:55 +00:00
parent fc1319fd31
commit 4d4294fdb4
2 changed files with 13 additions and 8 deletions

View File

@ -1,3 +1,8 @@
2003-01-24 Pavel Roskin <proski@gnu.org>
* smbfs.c (smbfs_nothingisopen): Warning fix for 64-bit systems.
(smbfs_free): Likewise.
2003-01-24 Andrew V. Samoilov <sav@bcs.zp.ua>
* extfs/urar.in: Search $PATH for unrar, fallback to rar.

View File

@ -1630,7 +1630,7 @@ smbfs_rmdir (vfs *me, char *path)
static int
smbfs_link (vfs *me, char *p1, char *p2)
{
DEBUG(3, ("smbfs_link(p1:%s, p2:%s)\n", p1, p2));
DEBUG (3, ("smbfs_link(p1:%s, p2:%s)\n", p1, p2));
my_errno = EOPNOTSUPP;
return -1;
}
@ -1642,22 +1642,22 @@ static vfsid
smbfs_getid (vfs *me, char *p, struct vfs_stamping **parent)
{
*parent = NULL;
DEBUG(3, ("smbfs_getid(p:%s)\n", p));
DEBUG (3, ("smbfs_getid(p:%s)\n", p));
return (vfsid) -1;
return (vfsid) - 1;
}
static int
smbfs_nothingisopen (vfsid id)
{
DEBUG(3, ("smbfs_nothingisopen(%d)\n", (int)id));
DEBUG (3, ("smbfs_nothingisopen(%p)\n", id));
return 0;
}
static void
smbfs_free (vfsid id)
{
DEBUG(3, ("smbfs_free(%d)\n", (int)id));
DEBUG (3, ("smbfs_free(%p)\n", id));
/* FIXME: Should not be empty */
authinfo_free_all ();
}