summaryrefslogtreecommitdiffstats
path: root/bin/dd/args.c
diff options
context:
space:
mode:
Diffstat (limited to 'bin/dd/args.c')
-rw-r--r--bin/dd/args.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/bin/dd/args.c b/bin/dd/args.c
index 59ccefe..b3cc1a8 100644
--- a/bin/dd/args.c
+++ b/bin/dd/args.c
@@ -34,7 +34,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: args.c,v 1.3 1994/09/24 02:54:42 davidg Exp $
+ * $Id: args.c,v 1.4 1996/11/12 23:08:58 phk Exp $
*/
#ifndef lint
@@ -49,7 +49,6 @@ static char sccsid[] = "@(#)args.c 8.3 (Berkeley) 4/2/94";
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <sys/time.h>
#include "dd.h"
#include "extern.h"
@@ -101,7 +100,7 @@ jcl(argv)
in.dbsz = out.dbsz = 512;
- while ((oper = *++argv)) {/* JEAG */
+ while ((oper = *++argv) != NULL) {
if ((arg = strchr(oper, '=')) == NULL)
errx(1, "unknown operand %s", oper);
*arg++ = '\0';
OpenPOWER on IntegriCloud