001-stupid_breakage_fix.patch 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. --- a/src/dsl_cpe_cli_access.c 2016-05-27 12:34:43.612485449 -0700
  2. +++ b/src/dsl_cpe_cli_access.c 2016-05-27 12:45:37.491727862 -0700
  3. @@ -1142,7 +1142,7 @@
  4. if ((ret < 0) && (autobootCtrl.accessCtl.nReturn < DSL_SUCCESS))
  5. {
  6. - DSL_CPE_FPrintf (out, sFailureReturn, autobootCtrl.accessCtl.nReturn);
  7. + DSL_CPE_FPrintf (out, sFailureReturn, autobootCtrl.accessCtl.nReturn, DSL_CPE_Fd2DevStr(fd));
  8. }
  9. else
  10. {
  11. @@ -1213,7 +1213,7 @@
  12. if ((ret < 0) && (pData.accessCtl.nReturn < DSL_SUCCESS))
  13. {
  14. - DSL_CPE_FPrintf (out, sFailureReturn, pData.accessCtl.nReturn);
  15. + DSL_CPE_FPrintf (out, sFailureReturn, pData.accessCtl.nReturn, DSL_CPE_Fd2DevStr(fd));
  16. }
  17. else
  18. {
  19. @@ -1290,7 +1290,7 @@
  20. if ((ret < 0) && (pData.accessCtl.nReturn < DSL_SUCCESS))
  21. {
  22. - DSL_CPE_FPrintf (out, sFailureReturn, pData.accessCtl.nReturn);
  23. + DSL_CPE_FPrintf (out, sFailureReturn, pData.accessCtl.nReturn, DSL_CPE_Fd2DevStr(fd));
  24. }
  25. else
  26. {
  27. @@ -1355,7 +1355,7 @@
  28. pCtx, &resourceUsageStatisticsData);
  29. if (ret < 0)
  30. {
  31. - DSL_CPE_FPrintf (out, sFailureReturn, ret);
  32. + DSL_CPE_FPrintf (out, sFailureReturn, ret, DSL_CPE_Fd2DevStr(fd));
  33. }
  34. else
  35. {
  36. @@ -3084,7 +3084,7 @@
  37. if ((ret < 0) && (pData->accessCtl.nReturn < DSL_SUCCESS))
  38. {
  39. - DSL_CPE_FPrintf (out, sFailureReturn, pData->accessCtl.nReturn);
  40. + DSL_CPE_FPrintf (out, sFailureReturn, pData->accessCtl.nReturn, DSL_CPE_Fd2DevStr(fd));
  41. }
  42. else
  43. {
  44. @@ -4654,7 +4654,7 @@
  45. if ((ret < 0) && (pData.accessCtl.nReturn < DSL_SUCCESS))
  46. {
  47. - DSL_CPE_FPrintf (out, sFailureReturn, pData.accessCtl.nReturn);
  48. + DSL_CPE_FPrintf (out, sFailureReturn, pData.accessCtl.nReturn, DSL_CPE_Fd2DevStr(fd));
  49. }
  50. else
  51. {
  52. @@ -5714,7 +5714,7 @@
  53. if ((ret < 0) && (pData.accessCtl.nReturn < DSL_SUCCESS))
  54. {
  55. - DSL_CPE_FPrintf (out, sFailureReturn, pData.accessCtl.nReturn);
  56. + DSL_CPE_FPrintf (out, sFailureReturn, pData.accessCtl.nReturn, DSL_CPE_Fd2DevStr(fd));
  57. }
  58. else
  59. {