Searched refs:pri (Results 1 - 2 of 2) sorted by relevance
/systemd/src/test/ |
H A D | test-fstab-util.c | 111 int pri = -1; local 113 assert_se(fstab_find_pri("pri", &pri) == 0); 114 assert_se(pri == -1); 116 assert_se(fstab_find_pri("pri=11", &pri) == 1); 117 assert_se(pri == 11); 119 assert_se(fstab_find_pri("opt,pri=12,opt", &pri) == 1); 120 assert_se(pri [all...] |
/systemd/src/shared/ |
H A D | fstab-util.c | 187 unsigned pri; local 191 r = fstab_filter_options(options, "pri\0", NULL, &opt, NULL); 197 r = safe_atou(opt, &pri); 201 if ((int) pri < 0) 204 *ret = (int) pri;
|
Completed in 10 milliseconds