artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ee6168
)
from netbsd; repair byte swapping of fields
author
deraadt
<deraadt@openbsd.org>
Wed, 11 Dec 1996 19:23:40 +0000
(19:23 +0000)
committer
deraadt
<deraadt@openbsd.org>
Wed, 11 Dec 1996 19:23:40 +0000
(19:23 +0000)
sbin/restore/tape.c
patch
|
blob
|
history
diff --git
a/sbin/restore/tape.c
b/sbin/restore/tape.c
index
455c685
..
81196b2
100644
(file)
--- a/
sbin/restore/tape.c
+++ b/
sbin/restore/tape.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: tape.c,v 1.
4 1996/12/04 01:41:54
deraadt Exp $ */
+/* $OpenBSD: tape.c,v 1.
5 1996/12/11 19:23:40
deraadt Exp $ */
/* $NetBSD: tape.c,v 1.22 1996/11/30 18:31:29 cgd Exp $ */
/*
@@
-1042,7
+1042,7
@@
gethead(buf)
if (checksum((int *)buf) == FAIL)
return (FAIL);
if (Bcvt)
- swabst((u_char *)"8l4s31l", (u_char *)buf);
+ swabst((u_char *)"8l4s31l
528b1l192b2l
", (u_char *)buf);
goto good;
}
readtape((char *)(&u_ospcl.s_ospcl));