vl.c: change 'defconfig' variable to bool (v2)
Changes v1 -> v2: - Actually change the variable type declaration to 'bool' Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
		
							parent
							
								
									756557de64
								
							
						
					
					
						commit
						3ed2d9ee1f
					
				
							
								
								
									
										4
									
								
								vl.c
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								vl.c
									
									
									
									
									
								
							@ -2283,7 +2283,7 @@ int main(int argc, char **argv, char **envp)
 | 
				
			|||||||
#ifdef CONFIG_VNC
 | 
					#ifdef CONFIG_VNC
 | 
				
			||||||
    int show_vnc_port = 0;
 | 
					    int show_vnc_port = 0;
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
    int defconfig = 1;
 | 
					    bool defconfig = true;
 | 
				
			||||||
    const char *log_mask = NULL;
 | 
					    const char *log_mask = NULL;
 | 
				
			||||||
    const char *log_file = NULL;
 | 
					    const char *log_file = NULL;
 | 
				
			||||||
    GMemVTable mem_trace = {
 | 
					    GMemVTable mem_trace = {
 | 
				
			||||||
@ -2350,7 +2350,7 @@ int main(int argc, char **argv, char **envp)
 | 
				
			|||||||
            popt = lookup_opt(argc, argv, &optarg, &optind);
 | 
					            popt = lookup_opt(argc, argv, &optarg, &optind);
 | 
				
			||||||
            switch (popt->index) {
 | 
					            switch (popt->index) {
 | 
				
			||||||
            case QEMU_OPTION_nodefconfig:
 | 
					            case QEMU_OPTION_nodefconfig:
 | 
				
			||||||
                defconfig=0;
 | 
					                defconfig = false;
 | 
				
			||||||
                break;
 | 
					                break;
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user