projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update for SETOPT/GETOPT (from karels)
[unix-history]
/
usr
/
src
/
sbin
/
newfs
/
newfs.c
diff --git
a/usr/src/sbin/newfs/newfs.c
b/usr/src/sbin/newfs/newfs.c
index
6b7d67f
..
01302a6
100644
(file)
--- a/
usr/src/sbin/newfs/newfs.c
+++ b/
usr/src/sbin/newfs/newfs.c
@@
-6,7
+6,7
@@
*/
#ifndef lint
*/
#ifndef lint
-static char sccsid[] = "@(#)newfs.c 8.1
0
(Berkeley) %G%";
+static char sccsid[] = "@(#)newfs.c 8.1
1
(Berkeley) %G%";
#endif /* not lint */
#ifndef lint
#endif /* not lint */
#ifndef lint
@@
-475,7
+475,7
@@
main(argc, argv)
if (realsectorsize != DEV_BSIZE)
pp->p_size *= DEV_BSIZE / realsectorsize;
#endif
if (realsectorsize != DEV_BSIZE)
pp->p_size *= DEV_BSIZE / realsectorsize;
#endif
- if (!Nflag &&
b
cmp(pp, &oldpartition, sizeof(oldpartition)))
+ if (!Nflag &&
mem
cmp(pp, &oldpartition, sizeof(oldpartition)))
rewritelabel(special, fso, lp);
if (!Nflag)
close(fso);
rewritelabel(special, fso, lp);
if (!Nflag)
close(fso);