mirror of
https://github.com/moparisthebest/pacman
synced 2024-12-22 07:48: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:
parent
8de0631edb
commit
5bda38196f
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user