Skip to content

Commit add3b2e

Browse files
author
Fox Snowpatch
committed
1 parent 4db4221 commit add3b2e

File tree

1 file changed

+1
-1
lines changed
  • tools/testing/selftests/powerpc/papr_vpd

1 file changed

+1
-1
lines changed

tools/testing/selftests/powerpc/papr_vpd/papr_vpd.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ static int dev_papr_vpd_null_handle(void)
154154
static int papr_vpd_close_handle_without_reading(void)
155155
{
156156
const int devfd = open(DEVPATH, O_RDONLY);
157-
struct papr_location_code lc;
157+
struct papr_location_code lc = { .str = "", };
158158
int fd;
159159

160160
SKIP_IF_MSG(devfd < 0 && errno == ENOENT,

0 commit comments

Comments
 (0)