chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove libiptc things
[elogind.git]
/
src
/
shared
/
install-printf.c
diff --git
a/src/shared/install-printf.c
b/src/shared/install-printf.c
index 1ee1243f4d191c63e0acda1be7c06682db04efc3..f62a0321e65c922db75e68ac64c9271607907cb8 100644
(file)
--- a/
src/shared/install-printf.c
+++ b/
src/shared/install-printf.c
@@
-19,7
+19,6
@@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
-#include <assert.h>
#include <stdlib.h>
#include "specifier.h"
#include <stdlib.h>
#include "specifier.h"
@@
-103,7
+102,7
@@
static int specifier_user_name(char specifier, void *data, void *userdata, char
if (r < 0)
return r;
if (r < 0)
return r;
- if (asprintf(&printed,
"%d"
, uid) < 0)
+ if (asprintf(&printed,
UID_FMT
, uid) < 0)
return -ENOMEM;
break;
}}
return -ENOMEM;
break;
}}