Whamcloud - gitweb
LU-8731 utils: propagate errors in lfs df
[fs/lustre-release.git] / lustre / fld / lproc_fld.c
index 4ae4f26..e8230ce 100644 (file)
  *
  * You should have received a copy of the GNU General Public License
  * version 2 along with this program; If not, see
- * http://www.sun.com/software/products/lustre/docs/GPLv2.pdf
- *
- * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
- * CA 95054 USA or visit www.sun.com if you need additional information or
- * have any questions.
+ * http://www.gnu.org/licenses/gpl-2.0.html
  *
  * GPL HEADER END
  */
@@ -263,7 +259,7 @@ static int fldb_seq_show(struct seq_file *p, void *v)
                       fld->lsf_name, rc);
        } else if (fld_rec->lsr_start != 0) {
                range_be_to_cpu(fld_rec, fld_rec);
-               rc = seq_printf(p, DRANGE"\n", PRANGE(fld_rec));
+               seq_printf(p, DRANGE"\n", PRANGE(fld_rec));
        }
 
        return rc;