summaryrefslogtreecommitdiff
path: root/src/util.c
diff options
context:
space:
mode:
authorFrederic Crozat <fcrozat@suse.com>2012-02-29 14:42:49 +0100
committerLennart Poettering <lennart@poettering.net>2012-03-05 15:07:14 +0100
commit6a39419fe4e4ab7beb2412b6a52b5fd513509452 (patch)
tree11943a797fb6969ddc76102ae12d095f2b878060 /src/util.c
parent7be3aa1732f76245b58f8cdfe74707f8f7f67d18 (diff)
fix sparse warnings
Diffstat (limited to 'src/util.c')
-rw-r--r--src/util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util.c b/src/util.c
index e9869ea4fa..bf22f575c7 100644
--- a/src/util.c
+++ b/src/util.c
@@ -892,7 +892,7 @@ int load_env_file(
char ***rl) {
FILE *f;
- char **m = 0;
+ char **m = NULL;
int r;
assert(fname);
@@ -4177,7 +4177,7 @@ int wait_for_terminate_and_warn(const char *name, pid_t pid) {
}
-void freeze(void) {
+_noreturn_ void freeze(void) {
/* Make sure nobody waits for us on a socket anymore */
close_all_fds(NULL, 0);