summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2014-02-19 11:04:30 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2014-02-19 11:04:30 +0100
commitf8dc9ad4c41c7ec781c180d327f11ba78801263d (patch)
tree5560c0b944685107e841caff1ed86b71f33921a8
parent5b2553a99de26d4f2910bd7e3edcfcef803440c8 (diff)
Add debug output.
-rw-r--r--main_complete.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/main_complete.c b/main_complete.c
index a649078..b86e2a1 100644
--- a/main_complete.c
+++ b/main_complete.c
@@ -35,6 +35,8 @@
int main(int argc, char *argv[])
{
+ printf("Running...\n");
+
int fd = open("/tmp/my.log", O_CREAT | O_RDWR, 0777);
if(fd == -1) {
return 1;
@@ -68,5 +70,7 @@ int main(int argc, char *argv[])
hug_close();
+ printf("done\n");
+
return 0;
}