From: Paul Eggert Date: Mon, 15 Jul 2013 21:43:20 +0000 (-0700) Subject: tmpdir: fix typo in previous change X-Git-Tag: v0.1~89 X-Git-Url: http://erislabs.net/gitweb/?p=gnulib.git;a=commitdiff_plain;h=f2c107574ca11e86b783aad91e7bcd3b7c8a0e91 tmpdir: fix typo in previous change --- diff --git a/lib/tmpdir.c b/lib/tmpdir.c index 405c4bd1b..46768c65b 100644 --- a/lib/tmpdir.c +++ b/lib/tmpdir.c @@ -154,6 +154,6 @@ path_search (char *tmpl, size_t tmpl_len, const char *dir, const char *pfx, } memcpy (tmpl, dir, dlen); - sprintf (tmpl + dlen, &"/%.*sXXXXXX"[!add_slash], pfx, (int) plen); + sprintf (tmpl + dlen, &"/%.*sXXXXXX"[!add_slash], (int) plen, pfx); return 0; }