mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-29 02:22:43 +00:00
sys_nerr should come from standard headers -- not from a coder's guess
of what is right.
This commit is contained in:
parent
2ab778e1d3
commit
9b58188bdc
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=96236
@ -39,10 +39,12 @@
|
|||||||
* %W% (Berkeley) %G%
|
* %W% (Berkeley) %G%
|
||||||
*
|
*
|
||||||
* $Id: amq.c,v 1.7.2.5 2001/01/12 22:43:43 ro Exp $
|
* $Id: amq.c,v 1.7.2.5 2001/01/12 22:43:43 ro Exp $
|
||||||
* $FreeBSD$
|
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <sys/cdefs.h>
|
||||||
|
__FBSDID("$FreeBSD$");
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Automounter query tool
|
* Automounter query tool
|
||||||
*/
|
*/
|
||||||
@ -252,7 +254,6 @@ show_mi(amq_mount_info_list *ml, enum show_opt e, int *mwid, int *dwid, int *twi
|
|||||||
mi->mi_up > 0 ? "up" :
|
mi->mi_up > 0 ? "up" :
|
||||||
mi->mi_up < 0 ? "starting" : "down");
|
mi->mi_up < 0 ? "starting" : "down");
|
||||||
if (mi->mi_error > 0) {
|
if (mi->mi_error > 0) {
|
||||||
extern int sys_nerr;
|
|
||||||
if (mi->mi_error < sys_nerr)
|
if (mi->mi_error < sys_nerr)
|
||||||
#ifdef HAVE_STRERROR
|
#ifdef HAVE_STRERROR
|
||||||
printf(" (%s)", strerror(mi->mi_error));
|
printf(" (%s)", strerror(mi->mi_error));
|
||||||
|
@ -39,6 +39,7 @@
|
|||||||
* %W% (Berkeley) %G%
|
* %W% (Berkeley) %G%
|
||||||
*
|
*
|
||||||
* $Id: hlfsd.h,v 1.4.2.2 2001/01/12 22:47:21 ro Exp $
|
* $Id: hlfsd.h,v 1.4.2.2 2001/01/12 22:47:21 ro Exp $
|
||||||
|
* $FreeBSD$
|
||||||
*
|
*
|
||||||
* HLFSD was written at Columbia University Computer Science Department, by
|
* HLFSD was written at Columbia University Computer Science Department, by
|
||||||
* Erez Zadok <ezk@cs.columbia.edu> and Alexander Dupuy <dupuy@cs.columbia.edu>
|
* Erez Zadok <ezk@cs.columbia.edu> and Alexander Dupuy <dupuy@cs.columbia.edu>
|
||||||
@ -147,7 +148,6 @@ extern gid_t hlfs_gid;
|
|||||||
extern int cache_interval;
|
extern int cache_interval;
|
||||||
extern int noverify;
|
extern int noverify;
|
||||||
extern int serverpid;
|
extern int serverpid;
|
||||||
extern int sys_nerr;
|
|
||||||
extern int untab_index(char *username);
|
extern int untab_index(char *username);
|
||||||
extern am_nfs_fh *root_fhp;
|
extern am_nfs_fh *root_fhp;
|
||||||
extern am_nfs_fh root;
|
extern am_nfs_fh root;
|
||||||
|
Loading…
Reference in New Issue
Block a user