wmload: Add missing format arguments to fprintf().
Fixes "format not a string literal and no format arguments [-Wformat-security]" warnings.
This commit is contained in:
		
							parent
							
								
									b3196ffdb4
								
							
						
					
					
						commit
						44bf7d58e4
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -335,13 +335,13 @@ void GetXPM(void)
 | 
				
			||||||
  ret = XpmCreatePixmapFromData(dpy, Root, alt_xpm, &wmload.pixmap, 
 | 
					  ret = XpmCreatePixmapFromData(dpy, Root, alt_xpm, &wmload.pixmap, 
 | 
				
			||||||
				&wmload.mask, &wmload.attributes);
 | 
									&wmload.mask, &wmload.attributes);
 | 
				
			||||||
  if(ret != XpmSuccess)
 | 
					  if(ret != XpmSuccess)
 | 
				
			||||||
    {fprintf(stderr, ERR_colorcells);exit(1);}
 | 
					    {fprintf(stderr, "%s\n", ERR_colorcells);exit(1);}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  visible.attributes.valuemask |= (XpmReturnPixels | XpmReturnExtensions);
 | 
					  visible.attributes.valuemask |= (XpmReturnPixels | XpmReturnExtensions);
 | 
				
			||||||
  ret = XpmCreatePixmapFromData(dpy, Root, back_xpm, &visible.pixmap, 
 | 
					  ret = XpmCreatePixmapFromData(dpy, Root, back_xpm, &visible.pixmap, 
 | 
				
			||||||
				&visible.mask, &visible.attributes);
 | 
									&visible.mask, &visible.attributes);
 | 
				
			||||||
  if(ret != XpmSuccess)
 | 
					  if(ret != XpmSuccess)
 | 
				
			||||||
    {fprintf(stderr, ERR_colorcells);exit(1);}
 | 
					    {fprintf(stderr, "%s\n", ERR_colorcells);exit(1);}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue