1. 21 Nov, 2013 1 commit
    • Kir Kolyshkin's avatar
      fopen_proc(), opendir_proc(): don't print two errors · e49faff1
      Kir Kolyshkin authored
      Both fopen_proc() and opendir_proc() are calling open_proc().
      If open_proc() fails, it prints an error message. Before this
      patch, a second error message was printed due to missing brackets.
      This second message is a bit more specific (it tells the exact
      file/dir we failed to open) but it is redundant, because more
      generic error was already printed by open_proc(). It is also
      can be misleading because for the second message we reuse
      the same errno while we should not.
      
      So, let's remove this second error message print by using brackets.
      
      Alternatively, we could leave this as is (just fixing indentation)
      and let two errors be printed -- there is nothing wrong with that,
      but I think in this case less messages is better.
      
      This is a fix to commit 5661d806.
      Signed-off-by: 's avatarKir Kolyshkin <kir@openvz.org>
      Acked-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
      Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
      e49faff1
  2. 20 Nov, 2013 3 commits
  3. 19 Nov, 2013 1 commit
  4. 18 Nov, 2013 1 commit
  5. 15 Nov, 2013 13 commits
  6. 14 Nov, 2013 15 commits
  7. 11 Nov, 2013 2 commits
  8. 08 Nov, 2013 4 commits