Diff of /daemon/oprofiled.c [9871f0] .. [0d0e60] Maximize Restore

  Switch to unified view

a/daemon/oprofiled.c b/daemon/oprofiled.c
...
...
316
    return 1;
316
    return 1;
317
}
317
}
318
318
319
319
320
/** return the int in the given oprofilefs file */
320
/** return the int in the given oprofilefs file */
321
int opd_read_fs_int(char const * path, char const * name)
321
int opd_read_fs_int(char const * path, char const * name, int fatal)
322
{
322
{
323
    char filename[PATH_MAX + 1];
323
    char filename[PATH_MAX + 1];
324
    snprintf(filename, PATH_MAX, "%s/%s", path, name);
324
    snprintf(filename, PATH_MAX, "%s/%s", path, name);
325
    return op_read_int_from_file(filename);
325
    return op_read_int_from_file(filename, fatal);
326
}
326
}
327
327
328
328
329
static void opd_options(int argc, char const * argv[])
329
static void opd_options(int argc, char const * argv[])
330
{
330
{