if (tmp) {
if (!is_file_entry_regular(tmp)) {
- g_warning("Refusing to insert '%s', not a regular file\n", tmp);
+ g_warning("refusing to insert '%s', not a regular file", tmp);
} else if (!g_file_get_contents(tmp, body, NULL, NULL)) {
g_warning("couldn't set insert file '%s' in body", value);
}
/* turn the command-line string into an array */
if (!g_shell_parse_argv(cmdline, NULL, &argv, &err)) {
- g_warning("could not parse command line from '%s': %s\n", cmdline, err->message);
+ g_warning("could not parse command line from '%s': %s", cmdline, err->message);
g_error_free(err);
return NULL;
}
NULL, NULL, &pid, NULL, &fd, NULL, &err)
&& err)
{
- g_warning("could not spawn '%s': %s\n", cmdline, err->message);
+ g_warning("could not spawn '%s': %s", cmdline, err->message);
g_error_free(err);
g_strfreev(argv);
return NULL;
g_free(tmp);
if (strlen(out) != *out_len) {
- g_warning ("strlen(out) %"G_GSIZE_FORMAT" != *out_len %"G_GSIZE_FORMAT, strlen(out), *out_len);
+ g_warning("strlen(out) %"G_GSIZE_FORMAT" != *out_len %"G_GSIZE_FORMAT, strlen(out), *out_len);
}
return out;