diff options
author | An-Cheng Huang <ancheng@vyatta.com> | 2010-12-08 19:21:55 -0800 |
---|---|---|
committer | An-Cheng Huang <ancheng@vyatta.com> | 2010-12-08 19:21:55 -0800 |
commit | 63d7bebbac6a29bb9d6abf3f3218bb86e9e744e7 (patch) | |
tree | 0721c0e6c4f2d67109aa40fa49cdfc39fcd5a77c /src/cstore | |
parent | 9616f3ecd01ec7d801850da988204b758e52b3ff (diff) | |
download | vyatta-cfg-63d7bebbac6a29bb9d6abf3f3218bb86e9e744e7.tar.gz vyatta-cfg-63d7bebbac6a29bb9d6abf3f3218bb86e9e744e7.zip |
output session assert message to user
Diffstat (limited to 'src/cstore')
-rw-r--r-- | src/cstore/cstore.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cstore/cstore.hpp b/src/cstore/cstore.hpp index d1d01fa..872fe1e 100644 --- a/src/cstore/cstore.hpp +++ b/src/cstore/cstore.hpp @@ -31,7 +31,9 @@ #define ASSERT_IN_SESSION do \ { \ if (!inSession()) { \ - exit_internal("no session\n"); \ + output_user("Internal error: calling %s() without config session\n", \ + __func__); \ + exit_internal("calling %s() without config session\n", __func__); \ } \ } while (0); |