Fix another warning: error -> nfs_error
authorNeil Brown <neilb@suse.de>
Fri, 16 Mar 2007 07:34:08 +0000 (18:34 +1100)
committerNeil Brown <neilb@suse.de>
Fri, 16 Mar 2007 07:34:08 +0000 (18:34 +1100)
support/nfs/fstab.c

index c900f3c..ba72a53 100644 (file)
@@ -192,8 +192,8 @@ read_fstab()
        mfp = nfs_setmntent (fnam, "r");
        if (mfp == NULL || mfp->mntent_fp == NULL) {
                int errsv = errno;
-               error(_("warning: can't open %s: %s"),
-                       _PATH_FSTAB, strerror (errsv));
+               nfs_error(_("warning: can't open %s: %s"),
+                         _PATH_FSTAB, strerror (errsv));
                return;
        }
        read_mntentchn(mfp, fnam, mc);