diff options
author | David Barksdale <amatus.amongus@gmail.com> | 2012-04-13 00:09:40 -0500 |
---|---|---|
committer | David Barksdale <amatus.amongus@gmail.com> | 2012-04-13 00:09:40 -0500 |
commit | ee6fbc5c76077d77acac36894261a6195b4949f9 (patch) | |
tree | be7f5fce64d273d56886d4be3d655973e1152759 /src | |
parent | 8307cfb1994f22f79ac51afc182a1995a55bcaa8 (diff) |
Added/fixed debugging messages.
Diffstat (limited to 'src')
-rw-r--r-- | src/clojure/foofs/fuse/protocol.clj | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/clojure/foofs/fuse/protocol.clj b/src/clojure/foofs/fuse/protocol.clj index c21f6b3..2c33113 100644 --- a/src/clojure/foofs/fuse/protocol.clj +++ b/src/clojure/foofs/fuse/protocol.clj @@ -86,9 +86,9 @@ :unique (:unique request)}) buf) (try - (let [ret (c-write (:fd fuse) mem (.limit buf))] - ) - (catch Exception e nil))) + (c-write (:fd fuse) mem (.limit buf)) + (catch Exception e + (.printStackTrace e)))) nil) (defn reply-error! @@ -366,7 +366,7 @@ (:filesystem fuse) request (fn [result] - (.println *err* (str "opendir result" result)) + (.println *err* (str "opendir result " result)) (cond (map? result) (reply-ok! fuse request (write-open-out result)) (integer? result) (reply-error! fuse request result) |