diff options
Diffstat (limited to 'src/libdisk')
-rw-r--r-- | src/libdisk/disk.c | 2 | ||||
-rw-r--r-- | src/libdisk/proto.c | 12 | ||||
-rw-r--r-- | src/libdisk/scsi.c | 4 |
3 files changed, 9 insertions, 9 deletions
diff --git a/src/libdisk/disk.c b/src/libdisk/disk.c index 45836160..a39276f4 100644 --- a/src/libdisk/disk.c +++ b/src/libdisk/disk.c @@ -49,7 +49,7 @@ enum { Toffset = 446, /* offset of partition table in sector */ Magic0 = 0x55, Magic1 = 0xAA, - NTentry = 4, + NTentry = 4 }; struct Table { Tentry entry[NTentry]; diff --git a/src/libdisk/proto.c b/src/libdisk/proto.c index 9d5ff15b..ee30fc92 100644 --- a/src/libdisk/proto.c +++ b/src/libdisk/proto.c @@ -7,7 +7,7 @@ enum { LEN = 8*1024, - HUNKS = 128, + HUNKS = 128 }; #undef warn @@ -67,11 +67,11 @@ static void setnames(Mkaux*, File*); static void skipdir(Mkaux*); static void warn(Mkaux*, char *, ...); -//static void -//mprint(char *new, char *old, Dir *d, void*) -//{ -// print("%s %s %D\n", new, old, d); -//} +/*static void */ +/*mprint(char *new, char *old, Dir *d, void*) */ +/*{ */ +/* print("%s %s %D\n", new, old, d); */ +/*} */ int rdproto(char *proto, char *root, Mkfsenum *mkenum, Mkfserr *mkerr, void *a) diff --git a/src/libdisk/scsi.c b/src/libdisk/scsi.c index ccab244c..3f351053 100644 --- a/src/libdisk/scsi.c +++ b/src/libdisk/scsi.c @@ -264,8 +264,8 @@ scsi(Scsi *s, uchar *cmd, int ccount, void *v, int dcount, int io) if(scsiverbose) fprint(2, "scsi cmd #%.2ux: %.2ux %.2ux %.2ux: %s\n", cmd[0], key, code, sense[13], p); -// if(key == 0) -// return dcount; +/* if(key == 0) */ +/* return dcount; */ return -1; } |