Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emulab-devel
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
143
Issues
143
List
Boards
Labels
Service Desk
Milestones
Merge Requests
6
Merge Requests
6
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
emulab
emulab-devel
Commits
bb5baf2c
Commit
bb5baf2c
authored
Mar 13, 2006
by
Mike Hibler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor tweaks: zero unused part of the header, fixup a debug printf
parent
66dfc7a3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
os/imagezip/ffs/ffs.c
os/imagezip/ffs/ffs.c
+5
-5
os/imagezip/imagezip.c
os/imagezip/imagezip.c
+1
-0
No files found.
os/imagezip/ffs/ffs.c
View file @
bb5baf2c
...
...
@@ -629,11 +629,6 @@ inodefixup(void *bstart, off_t bsize, void *fdata)
void
*
ptr
,
*
eptr
;
int
inodesize
;
if
(
debug
>
1
)
fprintf
(
stderr
,
"inodefixup: data [%p-%p], fs=UFS%d
\n
"
,
bstart
,
bstart
+
bsize
-
1
,
magic
==
FS_UFS2_MAGIC
?
2
:
1
);
switch
(
magic
)
{
case
FS_UFS1_MAGIC
:
inodesize
=
sizeof
(
struct
ufs1_dinode
);
...
...
@@ -647,6 +642,11 @@ inodefixup(void *bstart, off_t bsize, void *fdata)
}
assert
((
bsize
%
inodesize
)
==
0
);
if
(
debug
>
1
)
fprintf
(
stderr
,
"inodefixup: %d UFS%d inodes
\n
"
,
(
int
)(
bsize
/
inodesize
),
magic
==
FS_UFS2_MAGIC
?
2
:
1
);
for
(
ptr
=
bstart
,
eptr
=
ptr
+
bsize
;
ptr
<
eptr
;
ptr
+=
inodesize
)
{
uint32_t
gen
;
...
...
os/imagezip/imagezip.c
View file @
bb5baf2c
...
...
@@ -1786,6 +1786,7 @@ compress_image(void)
/*
* Moving to the next block. Reserve the header area.
*/
memset
(
buf
,
0
,
DEFAULTREGIONSIZE
);
buffer_offset
=
DEFAULTREGIONSIZE
;
curregion
=
regions
;
numregions
=
0
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment