git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
generator.ml: constify do_mkdtemp
[libguestfs.git]
/
daemon
/
df.c
diff --git
a/daemon/df.c
b/daemon/df.c
index
0a7303c
..
ad662fa
100644
(file)
--- a/
daemon/df.c
+++ b/
daemon/df.c
@@
-1,5
+1,5
@@
/* libguestfs - the guestfsd daemon
/* libguestfs - the guestfsd daemon
- * Copyright (C) 2009 Red Hat Inc.
+ * Copyright (C) 2009 Red Hat Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@
-33,7
+33,7
@@
do_df ()
int r;
char *out, *err;
int r;
char *out, *err;
- NEED_ROOT (NULL);
+ NEED_ROOT (
return
NULL);
r = command (&out, &err, "df", NULL);
if (r == -1) {
r = command (&out, &err, "df", NULL);
if (r == -1) {
@@
-54,7
+54,7
@@
do_df_h ()
int r;
char *out, *err;
int r;
char *out, *err;
- NEED_ROOT (NULL);
+ NEED_ROOT (
return
NULL);
r = command (&out, &err, "df", "-h", NULL);
if (r == -1) {
r = command (&out, &err, "df", "-h", NULL);
if (r == -1) {