summaryrefslogtreecommitdiff
path: root/src/rc/runscript.c
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2011-12-11 14:33:25 -0600
committerWilliam Hubbs <williamh@gentoo.org>2011-12-11 14:33:39 -0600
commite574b5d441564dfccdcd9b09ed538f7b05d678db (patch)
treec63bb5e6d5bd54e716458bcd01aa08732c730850 /src/rc/runscript.c
parent5e01051c4eccf1fc52b32b060478a534d34769ed (diff)
downloadopenrc-e574b5d441564dfccdcd9b09ed538f7b05d678db.tar.gz
openrc-e574b5d441564dfccdcd9b09ed538f7b05d678db.tar.bz2
openrc-e574b5d441564dfccdcd9b09ed538f7b05d678db.tar.xz
fix compile error
A variable used in the previous commit was actually removed in another commit; that is why I didn't catch it. Reported-by: Duncan < 1i5t5.duncan@cox.net> X-Gentoo-Bug: 394369 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=394369
Diffstat (limited to 'src/rc/runscript.c')
-rw-r--r--src/rc/runscript.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rc/runscript.c b/src/rc/runscript.c
index b460cc3..cd53b34 100644
--- a/src/rc/runscript.c
+++ b/src/rc/runscript.c
@@ -1104,6 +1104,7 @@ runscript(int argc, char **argv)
char *dir, *save = NULL, *saveLnk = NULL;
char pidstr[10];
size_t l = 0, ll;
+ const char *file;
struct stat stbuf;
/* Show help if insufficient args */