liblog: don't retry opening /dev/pmsg0 if open() fails

If the first call to open() /dev/pmsg0 fails, then the device likely
does not have pmsg, so do not try opening it again.

Bug: 171526764
Test: pmsg tests work
Change-Id: I10083e12ca18e16c4ceaa9c5a0807f593b3402b8
1 file changed
tree: 2742bc7197dfeed4eb99617514aceda43a648fed
  1. liblog/
  2. logcat/
  3. logd/
  4. logwrapper/
  5. OWNERS
  6. PREUPLOAD.cfg
  7. TEST_MAPPING