diff options
Diffstat (limited to 'contrib/smbfs')
-rw-r--r-- | contrib/smbfs/mount_smbfs/mount_smbfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/smbfs/mount_smbfs/mount_smbfs.c b/contrib/smbfs/mount_smbfs/mount_smbfs.c index 2ba41f0..487e9cd 100644 --- a/contrib/smbfs/mount_smbfs/mount_smbfs.c +++ b/contrib/smbfs/mount_smbfs/mount_smbfs.c @@ -103,7 +103,7 @@ main(int argc, char *argv[]) #else error = getvfsbyname(SMBFS_VFSNAME, &vfc); if (error) { - if (kldload(SMBFS_VFSNAME)) + if (kldload(SMBFS_VFSNAME) < 0) err(EX_OSERR, "kldload("SMBFS_VFSNAME")"); error = getvfsbyname(SMBFS_VFSNAME, &vfc); } |