mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-27 11:52:03 +00:00
fixes
This commit is contained in:
parent
64f7506b34
commit
58ecf38778
2 changed files with 3 additions and 2 deletions
|
@ -77,7 +77,7 @@ main(int argc, char *argv[])
|
|||
|
||||
fmtinstall('F', fcallfmt);
|
||||
|
||||
defmnt = "/n/tapefs";
|
||||
defmnt = "tapefs";
|
||||
ARGBEGIN{
|
||||
case 'm':
|
||||
defmnt = ARGF();
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
#define g2byte(x) (((x)[1]<<8) + (x)[0]) /* little-endian */
|
||||
#define g3byte(x) (((x)[2]<<16) + ((x)[1]<<8) + (x)[0])
|
||||
#define g4byte(x) (((x)[3]<<24) + ((x)[2]<<16) + ((x)[1]<<8) + (x)[0])
|
||||
#define g8byte(x) (((vlong)g4byte(x)<<32) | (u32int)g4byte(x+4))
|
||||
|
||||
enum
|
||||
{
|
||||
|
@ -42,7 +43,7 @@ struct Ram
|
|||
char *group;
|
||||
vlong addr;
|
||||
void *data;
|
||||
long ndata;
|
||||
vlong ndata;
|
||||
};
|
||||
|
||||
enum
|
||||
|
|
Loading…
Reference in a new issue