aboutsummaryrefslogtreecommitdiff
path: root/contrib/amd/fsinfo/fsinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/amd/fsinfo/fsinfo.c')
-rw-r--r--contrib/amd/fsinfo/fsinfo.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/contrib/amd/fsinfo/fsinfo.c b/contrib/amd/fsinfo/fsinfo.c
index e441a47fab4b..93122eabbbb2 100644
--- a/contrib/amd/fsinfo/fsinfo.c
+++ b/contrib/amd/fsinfo/fsinfo.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997-2006 Erez Zadok
+ * Copyright (c) 1997-2014 Erez Zadok
* Copyright (c) 1989 Jan-Simon Pendry
* Copyright (c) 1989 Imperial College of Science, Technology & Medicine
* Copyright (c) 1989 The Regents of the University of California.
@@ -16,11 +16,7 @@
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
- * 3. All advertising materials mentioning features or use of this software
- * must display the following acknowledgment:
- * This product includes software developed by the University of
- * California, Berkeley and its contributors.
- * 4. Neither the name of the University nor the names of its contributors
+ * 3. Neither the name of the University nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
*
@@ -213,7 +209,7 @@ find_username(void)
if (!u)
u = "root";
- return strdup(u);
+ return xstrdup(u);
}
@@ -258,7 +254,7 @@ main(int argc, char *argv[])
* Parse input
*/
show_area_being_processed("read config", 11);
- if (yyparse())
+ if (fsi_parse())
errors = 1;
errors += file_io_errors + parse_errors;