summaryrefslogtreecommitdiffstats
path: root/bin/dd
diff options
context:
space:
mode:
Diffstat (limited to 'bin/dd')
-rw-r--r--bin/dd/Makefile3
-rw-r--r--bin/dd/dd.c4
2 files changed, 4 insertions, 3 deletions
diff --git a/bin/dd/Makefile b/bin/dd/Makefile
index 09158e5..3011366 100644
--- a/bin/dd/Makefile
+++ b/bin/dd/Makefile
@@ -1,7 +1,8 @@
# @(#)Makefile 8.1 (Berkeley) 5/31/93
-# $Id$
+# $Id: Makefile,v 1.4 1997/02/22 14:02:39 peter Exp $
PROG= dd
SRCS= args.c conv.c conv_tab.c dd.c misc.c position.c
+CFLAGS+=-g
.include <bsd.prog.mk>
diff --git a/bin/dd/dd.c b/bin/dd/dd.c
index bf14e16..6078bf5 100644
--- a/bin/dd/dd.c
+++ b/bin/dd/dd.c
@@ -34,7 +34,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: dd.c,v 1.11 1997/08/19 19:46:18 jlemon Exp $
+ * $Id: dd.c,v 1.12 1997/10/11 20:09:05 joerg Exp $
*/
#ifndef lint
@@ -316,7 +316,7 @@ dd_in()
}
if (ddflags & C_SWAB) {
- if ((n = in.dbcnt) & 1) {
+ if ((n = in.dbrcnt) & 1) {
++st.swab;
--n;
}
OpenPOWER on IntegriCloud