summaryrefslogtreecommitdiffabout
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--src/db.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/db.cc b/src/db.cc
index 9ae5f8f..c350e68 100644
--- a/src/db.cc
+++ b/src/db.cc
@@ -32,7 +32,7 @@ namespace napkin {
32 MAXPATHLEN 32 MAXPATHLEN
33# else /* maxpath */ 33# else /* maxpath */
34 512 34 512
35#endif /* maxpath */ 35# endif /* maxpath */
36 ]; 36 ];
37 if(!getcwd(cwd,sizeof(cwd))) 37 if(!getcwd(cwd,sizeof(cwd)))
38 throw napkin::exception("failed to getcwd()"); 38 throw napkin::exception("failed to getcwd()");