--- lib/dpkg/lock.c 2010-01-08 09:00:34.000000000 +0100 +++ lib/dpkg/lock.c.oden 2010-04-18 14:01:55.157224718 +0200 @@ -72,8 +72,8 @@ lock_file(int *lockfd, const char *filen if (fcntl(*lockfd, emsg_eagain ? F_SETLK : F_SETLKW, &fl) == -1) { if (emsg_eagain && (errno == EACCES || errno == EAGAIN)) - ohshit(emsg_eagain); - ohshite(emsg); + ohshit("%s", emsg_eagain); + ohshite("%s", emsg); } push_cleanup(cu_unlock_file, ~0, NULL, 0, 1, lockfd);