1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-12-22 15:58:50 -05:00

Minor format-string related cleanups

We had one stubbed out so we didn't require a translation update, and
the other is more a code style issue.

Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
Dan McGee 2012-03-12 21:47:29 -05:00
parent 8de0631edb
commit 5bda38196f
2 changed files with 2 additions and 2 deletions

View File

@ -1187,7 +1187,7 @@ int _alpm_sync_commit(alpm_handle_t *handle, alpm_list_t **data)
_alpm_log(handle, ALPM_LOG_DEBUG, "checking available disk space\n");
if(_alpm_check_diskspace(handle) == -1) {
_alpm_log(handle, ALPM_LOG_ERROR, "%s\n", _("not enough free disk space"));
_alpm_log(handle, ALPM_LOG_ERROR, _("not enough free disk space\n"));
return -1;
}

View File

@ -1146,7 +1146,7 @@ void print_packages(const alpm_list_t *packages)
free(size);
free(temp);
}
printf("%s\n",string);
printf("%s\n", string);
free(string);
}
}