69 |
sscanf(ptr, "%*s on %s type %s %*s\n%n", path, type, &count); |
69 |
sscanf(ptr, "%*s on %s type %s %*[^\n]\n%n", path, type, &count); |
71 |
if (strcmp(type, "efivarfs") != 0) |
71 |
if (strcmp(type, "efivarfs") == 0) |
74 |
if (strcmp(type, "efivarfs") != 0) { |
74 |
if (strcmp(type, "efivarfs") != 0) { |
75 |
fprintf(stderr, "No efivarfs filesystem is mounted\n"); |
75 |
fprintf(stderr, "No efivarfs filesystem is mounted\n"); |