xenpaging: Small code style cleanups

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
This commit is contained in:
Keir Fraser committed 2010-02-15 08:18:14 +00:00
1 parent 7527c26d47
commit ffd2932a60
1 file changed
+6 -3
+6 -3
View File
@@ -457,17 +457,20 @@ int main(int argc, char *argv[])
mem_event_request_t req;
mem_event_response_t rsp;
int i;
int rc = -1, rc1;
int rc = -1;
int rc1;
int open_flags = O_CREAT | O_TRUNC | O_RDWR;
mode_t open_mode = S_IRUSR | S_IRGRP | S_IROTH | S_IWUSR | S_IWGRP | S_IWOTH;
char filename[80];
int fd;
if ( argc != 3 ) {
if ( argc != 3 )
{
fprintf(stderr, "Usage: %s <domain_id> <num_pages>\n", argv[0]);
return -1;
return -1;
}
domain_id = atoi(argv[1]);
num_pages = atoi(argv[2]);
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.