]> mj.ucw.cz Git - libucw.git/blobdiff - lib/shell/config.c
Merge with git+ssh://cvs.ucw.cz/projects/sherlock/GIT/sherlock.git#v3.11
[libucw.git] / lib / shell / config.c
index 02d89dd854a6e6464bb60ff6b662283fbc325742..4208b8665438987f55d834fe700176a8bcbe1362 100644 (file)
@@ -38,7 +38,7 @@ help(void)
 Usage: config [-C<configfile>] [-S<section>.<option>=<value>] <sections>\n\
 \n\
 <sections>\t<section>[;<sections>]\n\
-<section>\t[*]<name>{[<items>]}\n\
+<section>\t[!]<name>{[<items>]}\n\
 <items>\t\t[-]<item>[;<items>]\n\
 <item>\t\t<static> | <array> | <list>\n\
 <static>\t<type><name>[=<value>]\n\
@@ -346,7 +346,7 @@ dump_value(uns array, struct item *item, void *v)
         sprintf(buf, "%d", *(int *)v);
         break;
       case CT_U64:
-        sprintf(buf, "%Lu", *(u64 *)v);
+        sprintf(buf, "%llu", (long long) *(u64 *)v);
        break;
       case CT_DOUBLE:
        sprintf(buf, "%g", *(double *)v);