bitkeeper revision 1.278 (3f093528SjHdAnyxMPb44WbytMKk6g)

Slightly less hacky interface
This commit is contained in:
sos22@labyrinth.cl.cam.ac.uk committed 2003-07-07 08:54:00 +00:00
1 parent 64ef079d7c
commit 8b7ca89859
1 file changed
+3 -3
+3 -3
View File
@@ -11,8 +11,8 @@ int main(int argc, char *argv[])
int fd;
char *strbuf;
if (argc != 6) {
fprintf(stderr, "Usage: xi_physdev_grant <r/rw> <domain> <device> <start sector> <n_sectors>\n");
if (argc != 7) {
fprintf(stderr, "Usage: xi_physdev_grant <r/rw> <domain> <device> <start sector> <n_sectors> <partition>\n");
return 1;
}
@@ -26,7 +26,7 @@ int main(int argc, char *argv[])
else if (argv[1][1] == 'w')
buf.mode |= 2;
buf.device = atol(argv[3]);
buf.device = atol(argv[3]) + atol(argv[6]);
buf.start_sect = atol(argv[4]);
buf.n_sectors = atol(argv[5]);
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.