]> git.decadent.org.uk Git - nfs-utils.git/commitdiff
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 c900f3ced0f3f09bb48ca7131f8c58ccb100a9a1..ba72a53418973e995f56dbf4a031aac939378496 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);