diff options
author | obrien <obrien@FreeBSD.org> | 2002-05-09 00:41:18 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2002-05-09 00:41:18 +0000 |
commit | d30b71c2563080c32038201ad86ec65326e64102 (patch) | |
tree | 06d5ef3949d5df9cf4b9bcb0a993ff7861f39237 /contrib/amd/amq | |
parent | 91b9756f6b3968a27e63d8a874869f9578b5bc91 (diff) | |
download | FreeBSD-src-d30b71c2563080c32038201ad86ec65326e64102.zip FreeBSD-src-d30b71c2563080c32038201ad86ec65326e64102.tar.gz |
sys_nerr should come from standard headers -- not from a coder's guess
of what is right.
Diffstat (limited to 'contrib/amd/amq')
-rw-r--r-- | contrib/amd/amq/amq.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/contrib/amd/amq/amq.c b/contrib/amd/amq/amq.c index 50482b4..e49cabc 100644 --- a/contrib/amd/amq/amq.c +++ b/contrib/amd/amq/amq.c @@ -39,10 +39,12 @@ * %W% (Berkeley) %G% * * $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 */ @@ -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 ? "starting" : "down"); if (mi->mi_error > 0) { - extern int sys_nerr; if (mi->mi_error < sys_nerr) #ifdef HAVE_STRERROR printf(" (%s)", strerror(mi->mi_error)); |