summaryrefslogtreecommitdiff
path: root/src/mount-setup.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-03-09 19:48:02 +0100
committerLennart Poettering <lennart@poettering.net>2011-03-09 19:48:02 +0100
commit34df5a34e1d0ac4bba453fb5f52f18a2f5f260f9 (patch)
treea8679136892e5f457a36b98c596e102c6f8ce9ca /src/mount-setup.c
parentcc5524ecc60a83fb88cac02fe02e21cde3951a25 (diff)
drop unnecessary suffix NULs as gcc adds them anyway
Diffstat (limited to 'src/mount-setup.c')
-rw-r--r--src/mount-setup.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mount-setup.c b/src/mount-setup.c
index f08eeb162e..09ee07f820 100644
--- a/src/mount-setup.c
+++ b/src/mount-setup.c
@@ -228,8 +228,7 @@ int mount_setup(void) {
"/proc/self/fd\0" "/dev/fd\0"
"/proc/self/fd/0\0" "/dev/stdin\0"
"/proc/self/fd/1\0" "/dev/stdout\0"
- "/proc/self/fd/2\0" "/dev/stderr\0"
- "\0";
+ "/proc/self/fd/2\0" "/dev/stderr\0";
int r;
unsigned i;