warnings: fix missing field in initializer

use generic struct zero initializer instead.
Older gcc used on arm also seem to have trouble with '{}',
so use '{ 0 }' instead

Change-Id: I83d43b05f8d1d44e1dd86502b48e28fe242e1db2
This commit is contained in:
Dominique Martinet
2019-03-04 10:53:40 +09:00
committed by Dominique Martinet
parent 10cca81401
commit 0cc3496747
3 changed files with 3 additions and 3 deletions

View File

@ -3158,7 +3158,7 @@ struct overlay_blacklist_entry {
{ "/sys/devices/system/node/has%c", -1, -1, '_' },
{ "/sys/fs/cgrou%c", -1, -1, 'p' },
{ "/sys/devices/pci%*[^/]/%*[^/]/local_cpu%c", -1, -1, 's' },
{ NULL, 0, 0 },
{ 0 },
};
int overlay_blacklist(const char *path)