summaryrefslogtreecommitdiffstats
path: root/loader/loader.c
diff options
context:
space:
mode:
authorDavid Cantrell <dcantrell@redhat.com>2009-03-31 11:07:29 -1000
committerDavid Cantrell <dcantrell@redhat.com>2009-03-31 11:13:00 -1000
commit3154d6cdbdcfef5373ab40fa6c08b607d4d2004d (patch)
treeb9c103629a4ed09a257b61d06ad8aa20b7714a0e /loader/loader.c
parentc96156e391e6eb9793887cec8e71ddcaac55af6f (diff)
Revert "Work around gcc bug #492973"
This reverts commit 5a0189827c1c6db21ecbfd01f00ee1f5edbb7a77. gcc-4.4.0-0.31 in rawhide fixes the problem we were seeing.
Diffstat (limited to 'loader/loader.c')
-rw-r--r--loader/loader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/loader/loader.c b/loader/loader.c
index 019b2d70d..98ea24cba 100644
--- a/loader/loader.c
+++ b/loader/loader.c
@@ -2082,7 +2082,7 @@ int main(int argc, char ** argv) {
path = getenv("PATH");
while (path && path[0]) {
- int n = (strcspn)(path, ":");
+ int n = strcspn(path, ":");
char c, *binpath;
c = path[n];