summaryrefslogtreecommitdiff
path: root/src/shared/install-printf.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-09-17 10:03:46 -0500
committerLennart Poettering <lennart@poettering.net>2013-09-17 10:06:50 -0500
commit19f6d710772305610b928bc2678b9d77fe11e770 (patch)
treeca3e7b4f7f20f94137fcef96b92a7a208c72e1c5 /src/shared/install-printf.h
parent0aafd43d235982510d1c40564079f7bcec0c7c19 (diff)
downloadsystemd-19f6d710772305610b928bc2678b9d77fe11e770.tar.gz
systemd-19f6d710772305610b928bc2678b9d77fe11e770.tar.bz2
systemd-19f6d710772305610b928bc2678b9d77fe11e770.zip
specifier: rework specifier calls to return proper error message
Previously the specifier calls could only indicate OOM by returning NULL. With this change they will return negative errno-style error codes like everything else.
Diffstat (limited to 'src/shared/install-printf.h')
-rw-r--r--src/shared/install-printf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/install-printf.h b/src/shared/install-printf.h
index 46f5294d21..6ffa488b1b 100644
--- a/src/shared/install-printf.h
+++ b/src/shared/install-printf.h
@@ -22,4 +22,4 @@
#pragma once
#include "install.h"
-char *install_full_printf(InstallInfo *i, const char *format);
+int install_full_printf(InstallInfo *i, const char *format, char **ret);