minor header change in src/bin/dd/misc.c

Giorgos Keramidas <[email protected]>
Newsgroups gmane.os.freebsd.devel.audit
Message-ID <[email protected]>
The source of bin/dd/misc.c doesn't use any of the functions of
<strings.h> but uses strlen, which is defined in <string.h>.  The
following seems to fix the only warning this file triggers for me.
Does it seem ok to you all?

%%%
Index: misc.c
===================================================================
RCS file: /home/ncvs/src/bin/dd/misc.c,v
retrieving revision 1.23
diff -u -r1.23 misc.c
--- misc.c	2 Feb 2002 06:24:12 -0000	1.23
+++ misc.c	9 Jun 2002 01:42:12 -0000
@@ -49,7 +49,7 @@
 #include <errno.h>
 #include <stdio.h>
 #include <stdlib.h>
-#include <strings.h>
+#include <string.h>
 #include <unistd.h>
 
 #include "dd.h"
%%%


To Unsubscribe: send mail to [email protected]
with "unsubscribe freebsd-audit" in the body of the message
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.