diff options
author | charnier <charnier@FreeBSD.org> | 2003-02-05 13:45:25 +0000 |
---|---|---|
committer | charnier <charnier@FreeBSD.org> | 2003-02-05 13:45:25 +0000 |
commit | 6e45bdfe12274a90fa234e2d865ba184c7a4b27d (patch) | |
tree | b6eed9abba698ecf55651096e6106df3d84a060c /libexec/bootpd/bootpd.c | |
parent | a7cecc7301a0f68ed494f2f00b1210916ffc932a (diff) | |
download | FreeBSD-src-6e45bdfe12274a90fa234e2d865ba184c7a4b27d.zip FreeBSD-src-6e45bdfe12274a90fa234e2d865ba184c7a4b27d.tar.gz |
Add FBSDID. udp/bootps -> bootps/udp. Use err(3).
Diffstat (limited to 'libexec/bootpd/bootpd.c')
-rw-r--r-- | libexec/bootpd/bootpd.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/libexec/bootpd/bootpd.c b/libexec/bootpd/bootpd.c index fd998e0..1fd2f6e 100644 --- a/libexec/bootpd/bootpd.c +++ b/libexec/bootpd/bootpd.c @@ -19,8 +19,6 @@ PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - $FreeBSD$ - ************************************************************************/ /* @@ -39,7 +37,8 @@ SOFTWARE. * See ./ToDo */ - +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); #include <sys/types.h> #include <sys/param.h> @@ -443,7 +442,7 @@ main(argc, argv) } else { bootps_port = (u_short) IPPORT_BOOTPS; report(LOG_ERR, - "udp/bootps: unknown service -- assuming port %d", + "bootps/udp: unknown service -- using port %d", bootps_port); } @@ -469,7 +468,7 @@ main(argc, argv) bootpc_port = ntohs(servp->s_port); } else { report(LOG_ERR, - "udp/bootpc: unknown service -- assuming port %d", + "bootpc/udp: unknown service -- using port %d", IPPORT_BOOTPC); bootpc_port = (u_short) IPPORT_BOOTPC; } |