Skip to content

Commit

Permalink
Added check target and cstyle cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
pijewski committed Nov 5, 2011
1 parent 19389c4 commit adc9d9a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions Makefile
Expand Up @@ -3,3 +3,6 @@ all:

clean:
rm -f iopattern

check:
cstyle iopattern.c
5 changes: 3 additions & 2 deletions iopattern.c
Expand Up @@ -155,10 +155,11 @@ main(int argc, char *argv[])

if (isread)
rv = doread(dev, nblocks, blocksize);
else
else
rv = dowrite(dev, nblocks, blocksize);

printf("\nProcessed %d blocks (%d bytes).\n", nblocks, nblocks * blocksize);
printf("\nProcessed %d blocks (%d bytes).\n",
nblocks, nblocks * blocksize);

out:
(void) close(dev);
Expand Down

0 comments on commit adc9d9a

Please sign in to comment.