diff options
author | Daniel Mack <github@zonque.org> | 2015-09-30 16:35:49 +0200 |
---|---|---|
committer | Daniel Mack <github@zonque.org> | 2015-09-30 16:35:49 +0200 |
commit | a19c7a4a4b773e25671a5fa874e7c421685d1bde (patch) | |
tree | 3b7e20eb79359b4f3579870beb279df35ae207cd /src/basic/fileio.h | |
parent | 6e8337580862037d0639961cb51ef82270c1a30f (diff) | |
parent | f2d28e80bc6260c90396e9fc798d559775dbde23 (diff) |
Merge pull request #1415 from aakoskin/bootchart-v2
[v2] bootchart: don't fail if "model name" is missing from cpuinfo
Diffstat (limited to 'src/basic/fileio.h')
-rw-r--r-- | src/basic/fileio.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/basic/fileio.h b/src/basic/fileio.h index 2e8148ff24..4998d4d042 100644 --- a/src/basic/fileio.h +++ b/src/basic/fileio.h @@ -48,4 +48,4 @@ int write_env_file(const char *fname, char **l); int executable_is_script(const char *path, char **interpreter); -int get_status_field(const char *filename, const char *pattern, char **field); +int get_proc_field(const char *filename, const char *pattern, const char *terminator, char **field); |