]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/import/import-fs.c
Drop RATELIMIT macros
[thirdparty/systemd.git] / src / import / import-fs.c
index f8f3a23206ff2097c4d9e7c34301d918baea5591..468303a6dce70773752467be2c3df405dbdb80d7 100644 (file)
@@ -169,7 +169,7 @@ static int import_fs(int argc, char *argv[], void *userdata) {
 
         (void) mkdir_parents_label(temp_path, 0700);
 
-        RATELIMIT_INIT(progress.limit, 200*USEC_PER_MSEC, 1);
+        progress.limit = (RateLimit) { 200*USEC_PER_MSEC, 1 };
 
         /* Hook into SIGINT/SIGTERM, so that we can cancel things then */
         assert(sigaction(SIGINT, &sa, &old_sigint_sa) >= 0);