You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/x11-misc/alock/files/tidy-printf.patch

24 lines
801 B

--- a/src/cursor_xcursor.c
+++ a/src/cursor_xcursor.c
@@ -37,17 +37,17 @@
return 0;
if (!args || strlen(args) < 13) {
- printf("%s", "alock: error, missing arguments for [xcursor].\n");
+ printf("alock: error, missing arguments for [xcursor].\n");
return 0;
}
if (strstr(args, "xcursor:") != args || strstr(&args[8], "file=") != &args[8]) {
- printf("%s", "alock: error, wrong arguments for [xcursor].\n");
+ printf("alock: error, wrong arguments for [xcursor].\n");
return 0;
}
if (!(cursor = XcursorFilenameLoadCursor(xinfo->display, &args[13]))) {
- printf("%s", "alock: error, couldnt load [%s]\n", &args[13]);
+ printf("alock: error, couldnt load [%s]\n", &args[13]);
return 0;
}