/*
* Mini tee implementation for busybox
*
- * Copyright (C) 1999,2000 by Lineo, inc.
+ * Copyright (C) 1999,2000,2001 by Lineo, inc.
* Written by Matt Kraai <kraai@alumni.carnegiemellon.edu>
*
* This program is free software; you can redistribute it and/or modify
*
*/
-#include "internal.h"
+#include "busybox.h"
#include <getopt.h>
#include <stdio.h>
while (optind < argc) {
if ((files[nfiles++] = fopen(argv[optind++], mode)) == NULL) {
nfiles--;
- errorMsg("%s: %s\n", argv[optind-1], strerror(errno));
+ perror_msg("%s", argv[optind-1]);
status = 1;
}
}